| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The REPL uses _ to store the result of the previous expression. This can cause confusion for REPL users who assign libraries like Underscore and Lodash to _. The documentation already mentions this behavior. This commit adds a printed warning if the user assigns to _.
|
How does this interact with #3737, is it one or the other? |
Sorry, something went wrong.
|
@rvagg it looks like this subsumes #3737. I'm also seeing a few different behaviors, depending on the type of variable:
I think the varying behavior is related to #983. |
Sorry, something went wrong.
|
Can't say I like this approach. I'd rather see something like #5431 (comment) |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Pull Request check-list
this change (including linting)?
test (or a benchmark) included?
existing APIs, or introduces new ones)?
Affected core subsystem(s)
repl
Description of change
The REPL uses _ to store the result of the previous expression. This can cause confusion for REPL users who assign libraries like Underscore and Lodash to _. The documentation already mentions this behavior. This commit adds a printed warning if the user assigns to _.
Refs: #5431