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

Comments

Projects
None yet
2 participants
@bnagy
Copy link

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

This comment has been minimized.

Copy link
Member

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
You can’t perform that action at this time.