From: Michael Fellinger Date: 2008-11-07T10:10:33+09:00 Subject: [ruby-core:19718] [Bug #717] Unneccesary statement in lib/irb.rb Bug #717: Unneccesary statement in lib/irb.rb http://redmine.ruby-lang.org/issues/show/717 Author: Michael Fellinger Status: Open, Priority: Low Category: lib, Target version: 1.9.x In lib/irb.rb in the `eval_input` method around line 110, there is a `@context.prompt_i` too much, `else` doesn't care. This is the case in all versions of Ruby back to 1.8.2 (that's as far as i cared to look). The context: if ltype f = @context.prompt_s elsif continue f = @context.prompt_c elsif indent > 0 f = @context.prompt_n else @context.prompt_i f = @context.prompt_i end ---------------------------------------- http://redmine.ruby-lang.org