Bug #717

Unneccesary statement in lib/irb.rb

Added by Michael Fellinger almost 7 years ago. Updated over 4 years ago.

[ruby-core:19718]
Status:Closed
Priority:Normal
Assignee:-
ruby -v: Backport:

Description

=begin
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
=end

History

#1 Updated by Yukihiro Matsumoto almost 7 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r20129.
=end

Also available in: Atom PDF