Project

General

Profile

Actions

Bug #14427

closed

Backport r61469

Added by znz (Kazuhiro NISHIYAMA) about 6 years ago. Updated about 6 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-dev:50460]

Description

Please backport r61469 to ruby_2_5 branch.

2.5.0:

% rbenv exec irb -r irb/completion --simple-prompt
>> {foo: 1}.fetch(:fooo)
Traceback (most recent call last):
        3: from .../bin/irb:11:in `<main>'
        2: from (irb):1
        1: from (irb):1:in `fetch'
KeyError (key not found: :fooo
Did you mean?  :foo)

trunk:

>> {foo: 1}.fetch(:fooo)
Traceback (most recent call last):
        3: from .../bin/irb:11:in `<main>'
        2: from (irb):1
        1: from (irb):1:in `fetch'
KeyError (key not found: :fooo)
Did you mean?  :foo

Updated by naruse (Yui NARUSE) about 6 years ago

  • Backport changed from 2.3: DONTNEED, 2.4: DONTNEED, 2.5: REQUIRED to 2.3: DONTNEED, 2.4: DONTNEED, 2.5: DONE

ruby_2_5 r62510 merged revision(s) 61469.

Actions

Also available in: Atom PDF

Like0
Like0