Skip to content

Parse error in anonymous block arguments #244

@hmac

Description

@hmac

A minimal test case:

def foo(&)
  foo(a, &
  )
end

It seems that when there is a newline between an anonymous block argument and the closing ), the parser fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions