public
Created

backport #7632 irb completion bug

  • Download Gist
gistfile1.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
zzak@ux31a:~$ ruby --version
ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-linux]
zzak@ux31a:~$ irb
1.9.3p362 :001 > (&:)/home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/completion.rb:80:in `block in <module:InputCompletor>': unmatched close parenthesis: /^:)/ (RegexpError)
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/input-method.rb:115:in `call'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/input-method.rb:115:in `readline'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/input-method.rb:115:in `gets'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb.rb:139:in `block (2 levels) in eval_input'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb.rb:273:in `signal_status'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb.rb:138:in `block in eval_input'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/ruby-lex.rb:188:in `call'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/ruby-lex.rb:188:in `buf_input'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/ruby-lex.rb:103:in `getc'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/slex.rb:205:in `match_io'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/slex.rb:75:in `match'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/ruby-lex.rb:286:in `token'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/ruby-lex.rb:262:in `lex'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/ruby-lex.rb:233:in `block (2 levels) in each_top_level_statement'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `loop'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `block in each_top_level_statement'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `catch'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in `each_top_level_statement'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb.rb:155:in `eval_input'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb.rb:70:in `block in start'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb.rb:69:in `catch'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/lib/ruby/1.9.1/irb.rb:69:in `start'
from /home/zzak/.rvm/rubies/ruby-1.9.3-p362/bin/irb:16:in `<main>'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.