irb completion broken
---------------------

                 Key: JRUBY-1086
                 URL: http://jira.codehaus.org/browse/JRUBY-1086
             Project: JRuby
          Issue Type: Bug
          Components: Miscellaneous
    Affects Versions: JRuby 1.0.0RC2
         Environment: $ java -version
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)

$ uname -a
Linux strider 2.6.21 #2 PREEMPT Mon May 28 11:43:20 CEST 2007 i686 GNU/Linux

            Reporter: Thomas Quas
            Assignee: Thomas E Enebo


I did this:

$ jirb
> require 'java'
> puts java.lang.Stri<TAB>
/home/tom/.irbrc:1: can't convert #<Class:01x1d88db7> into String (TypeError)
        from /home/tom/.irbrc:1:in `each_object'
        from /home/tom/projects/jruby-svn/lib/ruby/1.8/irb/completion.rb:161
        from /home/tom/.irbrc:1:in `call'
        from 
/home/tom/projects/jruby-svn/lib/ruby/1.8/irb/input-method.rb:103:in `readline'
        from 
/home/tom/projects/jruby-svn/lib/ruby/1.8/irb/input-method.rb:103:in `gets'
        from /home/tom/projects/jruby-svn/lib/ruby/1.8/irb.rb:141:in 
`eval_input'
        from /home/tom/projects/jruby-svn/lib/ruby/1.8/irb.rb:70:in 
`signal_status'
        from /home/tom/projects/jruby-svn/lib/ruby/1.8/irb.rb:143:in 
`eval_input'
         ... 14 levels...
        from :-1:in `catch'
        from /home/tom/projects/jruby-svn/lib/ruby/1.8/irb.rb:71:in `start'
        from :-1


-- 
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

Reply via email to