Skip to content

Support endless method definitions #3038

Closed
@eregon

Description

@eregon

Extracted from #2733

The relevant changes in CRuby are:

and the associated revisions are:

There seems to be no changes in the lexer, good.

This seems used frequently in applications, so we should try to support it soon.

We should also check if JRuby master supports them, and if so we can copy the relevant parts of https://github.com/jruby/jruby/blob/master/core/src/main/java/org/jruby/parser/RubyParser.y then.

We will wait for Prism/YARP adoption to fix this :#3117

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions