-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
[Truffle] method_added called while undefining method needed for MRI Excludes #2849
Comments
Good find! I wonder if RubySpec tests that. |
I'll just clarify a little here - the method isn't being removed - it's being undefined. If the method were removed you would see superclass implementations, where with undefined you don't. We implement this by adding a new method is added that has the undefined flag on it. That's the cause of the bug. |
I added a little more weird results |
Fixed, and added a spec for it. |
Looking at other problems in the example. |
Truffle now behaves as MRI regarding this example code. |
Example
Expected (ruby, jruby)
Actual
The text was updated successfully, but these errors were encountered: