This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Infinate Recursive Method Crashes IRB | ||
---|---|---|---|
Product: | ruby | Reporter: | William Leonard <bleonard> |
Component: | Platform | Assignee: | Martin Krauskopf <mkrauskopf> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Confirmed. Quite an edge case. Likely not for 6.1. Was 'jirb' issue, I guess which we are not using anymore. Thus fixed. |
Given the following class: class Recursive def method_missing(method) puts "There was no #{methd} method, but please try again." end end (note the spelling error #{methd}) Open IRB > load 'main.rb' > r = Recursive.new > r.anything IRB will crash. Running this from the command line smartly returns a stack level too deep error.