Skip to content

Parse error in anonymous block arguments #244

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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