Project

General

Profile

Actions

Bug #7632

closed

IRB autocompletion bug

Added by bogdan (Bogdan Gusiev) almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Target version:
-
ruby -v:
2.0.0
Backport:
[ruby-core:51174]

Description

Steps to reproduce:

  • Launch IRB
  • type: (&:)
  • press tab

Result: irb crashes
Ruby version: ruby-1.9.3-p194

/Users/bogdan/.rvm/gems/ruby-1.9.3-p194/gems/wirble-0.1.3/lib/wirble.rb:95:in save_history': undefined method size' for nil:NilClass (NoMethodError)
from /Users/bogdan/.rvm/gems/ruby-1.9.3-p194/gems/wirble-0.1.3/lib/wirble.rb:119:in block in initialize' /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/completion.rb:80:in block in module:InputCompletor': unmatched close parenthesis: /^:)/ (RegexpError)
from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/input-method.rb:115:in call' from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/input-method.rb:115:in readline'
from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/input-method.rb:115:in gets' from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:139:in block (2 levels) in eval_input'
from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:273:in signal_status' from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:138:in block in eval_input'
from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:188:in call' from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:188:in buf_input'
from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:103:in getc' from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/slex.rb:205:in match_io'
from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/slex.rb:75:in match' from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:286:in token'
from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:262:in lex' from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:233:in block (2 levels) in each_top_level_statement'
from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in loop' from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in block in each_top_level_statement'
from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in catch' from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in each_top_level_statement'
from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:155:in eval_input' from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:70:in block in start'
from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in catch' from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/irb.rb:69:in start'
from /Users/bogdan/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `'

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0