Skip to content

redo and next should raise a SyntaxError in methods #3058

Open
@eregon

Description

@eregon

See dcb41d0 and the 2 previous commits.

Should it be done in the parser? (and is it reasonable?)
It seems MRI does it slightly later as -c or Ripper will not catch it for instance.

Metadata

Metadata

Assignees

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