Skip to content

Bad error message for block pass through with return statement #272

@alex

Description

@alex
alex@alex-gaynor-laptop:~/projects/rupypy$ ruby-1.9.3-p125 -e "return &5"
-e:1: block argument should not be given
alex@alex-gaynor-laptop:~/projects/rupypy$ jruby-1.6.7 -e "return &5"
SyntaxError: -e:1: Dynamic constant assignment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions