Skip to content

REPL quits unexpectedly during tab completion #3346

@usernameisalreadytaken2014

Description

Reproduction:

  1. Start the nodejs repl.
  2. Start a function; enter "function() {" (without quotes) and hit [ENTER].
  3. Type "arguments." (without quotes) and hit [TAB].

Expected:
Available properties on arguments object, varying depending on strict / non-strict mode.

Actual:
Exit to command prompt with exit code 0.

Screenshot:

~ $ nodejs
> function() {
... arguments.~ $ echo $?
0

Version:
NodeJS 4.1 on Linux 3.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.replIssues and PRs related to the REPL subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions