Skip to content
This repository was archived by the owner on Mar 26, 2023. It is now read-only.
This repository was archived by the owner on Mar 26, 2023. It is now read-only.

Allow for *args as first argument #418

@johnnyt

Description

@johnnyt

MRI 1.9.3

ruby -e 'def foo(*a,b); p b; end; foo(1,2,3)'
3

MagLev

maglev-ruby -e 'def foo(*a,b); p b; end; foo(1,2,3)'
-e:3, syntax error, unexpected tIDENTIFIER  expecting EOF end-of-file
-e:4, syntax error
ERROR 2702 , a RubyParseError occurred (error 2702), -e:3: syntax error, unexpected tIDENTIFIER  expecting EOF end-of-file  (RubyParseError)
topaz 1> exit

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions