#571 √ resolved
femto

rubinius do not generate bytecode for this case

Reported by femto | May 21st, 2008 @ 09:50 PM | in 1.0 preview

def foo(a,b,c=d=1)

p [a,b,c,d]

end

foo(1,2)

foo(1,2,3)

for this, rubinius reports an error:

Bytecode generation error:

No method 'bytecode' on an instance of NilClass. (NoMethodError)

near test.rb:2

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »