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

Pack roundtrip through BER ( w ) yields incorrect type #786

Closed
bnagy opened this issue Jun 4, 2013 · 1 comment
Closed

Pack roundtrip through BER ( w ) yields incorrect type #786

bnagy opened this issue Jun 4, 2013 · 1 comment
Milestone

Comments

@bnagy
Copy link

@bnagy bnagy commented Jun 4, 2013

Repro:

12:05 < bnagy> % i = 129; [ i.class, (j=[i].pack('w_').unpack('w_').first).class, i.eql?( j ) ]
12:05 < multibot_> [Fixnum, Bignum, false]

This causes things like Set to break. It's also inconsistent with MRI behaviour.

@atambo atambo closed this in ade3354 Jun 5, 2013
@headius
Copy link
Member

@headius headius commented Jun 6, 2013

Please try to remember to mark release milestone :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants