From: naruse@... Date: 2018-02-21T06:00:57+00:00 Subject: [ruby-dev:50480] [Ruby trunk Bug#14427] Backport r61469 Issue #14427 has been updated by naruse (Yui NARUSE). 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. ---------------------------------------- Bug #14427: Backport r61469 https://bugs.ruby-lang.org/issues/14427#change-70516 * Author: znz (Kazuhiro NISHIYAMA) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: 2.5.0 * Backport: 2.3: DONTNEED, 2.4: DONTNEED, 2.5: DONE ---------------------------------------- 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 `
' 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 `
' 2: from (irb):1 1: from (irb):1:in `fetch' KeyError (key not found: :fooo) Did you mean? :foo ``` -- https://bugs.ruby-lang.org/