-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REPL quits unexpectedly during tab completion #3346
Comments
Looks like this bug has existed since v0.12. |
Looks like problems started with c0721bc which introduced domains into the REPL error handling. |
At the point where tab completion is requested, Node v0.10.40 would do nothing when you hit tab to get properties on an undefined value. Current Node throws a So I think the fix to this bug will/should throw a |
PR #3358 is intended to fix this bug. |
If a tab completion is attempted on an undefined reference inside of a function, the REPL was exiting without reporting an error or anything else. This change results in the REPL reporting the ReferenceError and continuing. Fixes: nodejs#3346 PR-URL: nodejs#3358 Reviewed-By: James M Snell <jasnell@gmail.com>
Fixed in #3358. |
Nice, thanks! :-) Impressive response time. |
Reproduction:
Expected:
Available properties on arguments object, varying depending on strict / non-strict mode.
Actual:
Exit to command prompt with exit code 0.
Screenshot:
Version:
NodeJS 4.1 on Linux 3.19
The text was updated successfully, but these errors were encountered: