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

Sending dup to a Struct raises a TypeError #3114

Closed
in-the-mood-for-mov opened this issue Feb 18, 2016 · 0 comments
Closed

Sending dup to a Struct raises a TypeError #3114

in-the-mood-for-mov opened this issue Feb 18, 2016 · 0 comments

Comments

@in-the-mood-for-mov
Copy link
Contributor

How to reproduce:

> A = Struct.new(:a, :b)
 => #<Class:0xf6d0c0>
> A.new(1, 2).dup
(mirb):2: struct size mismatch (TypeError)
syohex added a commit to syohex/mruby that referenced this issue Feb 19, 2016
@matz matz closed this as completed in cf5ca03 Feb 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant