any tab completion after typing object name that doesn't exist folled by a "."
crashes jirb
-------------------------------------------------------------------------------------------
Key: JRUBY-1321
URL: http://jira.codehaus.org/browse/JRUBY-1321
Project: JRuby
Issue Type: Bug
Components: Miscellaneous
Affects Versions: JRuby 1.0.1, JRuby 1.x
Environment: jruby 1.01 and trunk -r 4277
Reporter: Stephen Bannasch
Assignee: Thomas E Enebo
start jirb
enter any name of non-existent object followed by period
enter tab
This does not cause error in irb.
example:
[~/dev/jruby_trunk/jruby]$ jirb
irb(main):001:0>
a./Users/stephen/dev/jruby_trunk/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:
can't convert Module into String (TypeError)
from
/Users/stephen/dev/jruby_trunk/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`each_object'
from
/Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/irb/completion.rb:152
from
/Users/stephen/dev/jruby_trunk/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`call'
from
/Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/irb/input-method.rb:97:in
`readline'
from
/Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/irb/input-method.rb:97:in
`gets'
from /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/irb.rb:132:in
`eval_input'
from /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/irb.rb:70:in
`signal_status'
from /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/irb.rb:131:in
`eval_input'
... 14 levels...
from /Users/stephen/dev/jruby_trunk/jruby/bin/jirb:13:in `catch'
from /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/irb.rb:69:in
`start'
from /Users/stephen/dev/jruby_trunk/jruby/bin/jirb:13
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email