-
Notifications
You must be signed in to change notification settings - Fork 185
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
TracePoint.new(:end) is not supported #3696
Comments
Thank you for the report, we'll look into it. |
Do you need it for a particular gem or usage? |
Yes, joeldrapper/literal uses it to "freeze" classes once they're done being defined |
@eregon thank you. I replied to your comments in the thread on the literal repo. I think we can just disable this feature for TruffleRuby. It’s not essential, it’s just nice to know that Enums are constant — defined once at boot and never updated during runtime. |
That would be nice. has_end_tracepoint = begin
TracePoint.new(:end) {}
true
rescue ArgumentError
false
end In terms of priority, implementing |
It is called on cruby when a class or module block is closed
The text was updated successfully, but these errors were encountered: