History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: JRUBY-2435
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Assignee: Unassigned
Reporter: Charles Oliver Nutter
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JRuby

Aliasing eval and other "special" methods should display a warning

Created: 23/Apr/08 09:38 AM   Updated: 23/Apr/08 09:38 AM
Component/s: Core Classes/Modules
Affects Version/s: None
Fix Version/s: JRuby 1.1+

Time Tracking:
Not Specified


 Description  « Hide
Currently if you alias eval (or instance_eval, or binding, or...) the compiler will not know that you're calling eval and not deoptimize the code properly. There should be an explicit warning for such aliases, if they are allowed at all.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.