Skip to content
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 fixes #2052

Closed
wants to merge 3 commits into from
Closed

REPL fixes #2052

wants to merge 3 commits into from

Commits on Jun 24, 2015

  1. repl: fix tab completion for a non-global context

    Use vm.isContext() to properly identify contexts.
    
    PR-URL: nodejs/node-v0.x-archive#25382
    PR-URL: io.js PR-URL here
    Reviewed-By: Colin Ihrig <[email protected]>
    sixmen authored and cjihrig committed Jun 24, 2015
    Configuration menu
    Copy the full SHA
    e36168f View commit details
    Browse the repository at this point in the history
  2. repl: make 'Unexpected token' errors recoverable

    Fix the regexp used to detect 'Unexpected token' errors so that they can
    be considered as recoverable. This fixes the following use case:
    
    > var foo = 'bar \
    ... baz';
    undefined
    > foo
    'bar baz'
    >
    
    Fixes: nodejs/node-v0.x-archive#8874
    PR-URL: nodejs/node-v0.x-archive#8875
    PR-URL: insert io.js PR-URL
    Reviewed-By: Colin Ihrig <[email protected]>
    Julien Gilli authored and cjihrig committed Jun 24, 2015
    Configuration menu
    Copy the full SHA
    81699d2 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2015

  1. test: fix test-repl-tab-complete.js

    test-repl-tab-complete.js contains numerous assertions that are
    never run. Anything that results in a ReferenceError bails out,
    and never calls the functions containing the assertions. This
    commit adds checking for successful tab completions, as well as
    ReferenceErrors.
    
    PR-URL: insert here
    cjihrig committed Jun 25, 2015
    Configuration menu
    Copy the full SHA
    fd178f8 View commit details
    Browse the repository at this point in the history