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: allow leading period in multiline input #3835

Closed
wants to merge 1 commit into from

Commits on Nov 15, 2015

  1. repl: allow leading period in multiline input

    When writing multiline input, one can't chain function calls as if the
    lines begin with a period, since those are treated as REPL commands.
    
    Before:
    
        > ([0, 1, 2]
        ... .map(x => x + 1))
        Invalid REPL keyword
    
    After:
    
        > ([0, 1, 2]
        ... .map(x => x + 1))
        [ 1, 2, 3 ]
    Zirak committed Nov 15, 2015
    Configuration menu
    Copy the full SHA
    510883d View commit details
    Browse the repository at this point in the history