Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not all default args semantics are supported. #384

Closed
meh opened this issue Sep 26, 2013 · 1 comment
Closed

Not all default args semantics are supported. #384

meh opened this issue Sep 26, 2013 · 1 comment

Comments

@meh
Copy link
Member

meh commented Sep 26, 2013

>> def has?(a = 42, b, c); [a, b, c]; end
parse error on value "," (",") ::1
        /home/meh/.gem/ruby/2.0.0/gems/opal-0.4.4/lib/opal/lexer.rb:40:in `on_error'
        /usr/lib/ruby/2.0.0/racc/parser.rb:258:in `_racc_do_parse_c'
        /usr/lib/ruby/2.0.0/racc/parser.rb:258:in `do_parse'
@elia elia modified the milestones: 0.7, 0.6 Apr 8, 2014
@elia elia modified the milestone: 0.7 Sep 27, 2014
@elia elia added the parser label May 5, 2015
@elia
Copy link
Member

elia commented Apr 1, 2016

fixed on master by @iliabylich

@elia elia closed this as completed Apr 1, 2016
hmdne pushed a commit to hmdne/opal that referenced this issue Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants