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: fix generator function preprocessing #9852

Merged

Commits on Dec 2, 2016

  1. repl: fix generator function preprocessing

    Function declarations in the REPL are preprocessed into variable
    declarations before being evaluated. However, the preprocessing logic
    did not account for the star in a generator function declaration, which
    caused the preprocessor to output invalid syntax in some circumstances.
    
    PR-URL: nodejs#9852
    Fixes: nodejs#9850
    Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    not-an-aardvark committed Dec 2, 2016
    Configuration menu
    Copy the full SHA
    24a98dd View commit details
    Browse the repository at this point in the history