Skip to content

foo :bar {} is legal in mruby? #6298

@catsidhe

Description

@catsidhe
def foo(*)
end
foo :bar {}
foo 'bar' {}
foo 1 {}

The syntax above works in mruby but not in CRuby. However foo nil {} doesn't work in mruby either.

The commit that made it possible is e98823f
Intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions