Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error on REPL with implicit parens #1420

@TrevorBurnham

Description

@TrevorBurnham

The code

a(b) -> c

is perfectly legit, equivalent to a(b)(-> c). But on the REPL, it fails with the message

Error: In repl, too many ) on line 2

(as of the current master; error message is on line 1 on 1.1.1). Note that this is the same error that was happening in #1398 with comments (since fixed by Michael).

To be clear,

func ->

works fine, but

func() ->

fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions