You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm that this bug is still present. It affects the C implementation, but not json/pure. This is due to an optimization that should check if the builtin method has been redefined or not. (did not check Java port)
I'm afraid checking for that would really kill performance, so while I understand one might expect this behavior, I don't think it's desirable to handle it.
Here is an example:
So
to_json
works well with Range class. But let's try it with FixnumWAT? Why do we have different behaviour for integers? :(
The text was updated successfully, but these errors were encountered: