Project

General

Profile

Actions

Bug #717

closed

Unneccesary statement in lib/irb.rb

Added by manveru (Michael Fellinger) about 16 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
Backport:
[ruby-core:19718]

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

Actions

Also available in: Atom PDF

Like0
Like0