Affects Version/s: JRuby 1.7.0.pre1
Fix Version/s: JRuby 1.7.0.pre2
Number of attachments :
Given a file `args_error.rb` with
In JRuby, this produces:
In MRI 1.9:
In MRI 1.8.7:
(Only the line number change)
The MRI version (and Rbx too by the way) mentions the method name.
I think this can be helpful, to easily understand what might be the problem without needing to go to the caller place, and when the call is dynamic (#send).
For the location, 1.8 seems to mention the caller location, while 1.9 shows the callee location (and likely showing the line of the method definition in its file, which can be very helpful).