Bug #717
Unneccesary statement in lib/irb.rb
| Status: | Closed | Start date: | 11/07/2008 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | lib | |||
| Target version: | 2.0.0 | |||
| ruby -v: |
Description
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
Associated revisions
* lib/irb.rb (IRB::Irb#eval_input): remove extra @context.prompt_i.
[ruby-core:19718]
History
Updated by matz (Yukihiro Matsumoto) over 3 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset r20129.