From: nagachika00@... Date: 2017-07-18T12:43:42+00:00 Subject: [ruby-core:82099] [Ruby trunk Bug#13699] Multiple maps over lazy enumerator yielding multiple values in 2.4.x causes crash Issue #13699 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 2.2: DONTNEED, 2.3: DONTNEED, 2.4: REQUIRED to 2.2: DONTNEED, 2.3: DONTNEED, 2.4: DONE ruby_2_4 r59363 merged revision(s) 59056. ---------------------------------------- Bug #13699: Multiple maps over lazy enumerator yielding multiple values in 2.4.x causes crash https://bugs.ruby-lang.org/issues/13699#change-65839 * Author: alekstorm (Alek Storm) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.2: DONTNEED, 2.3: DONTNEED, 2.4: DONE ---------------------------------------- ~~~ ruby Enumerator.new{|e| e.yield(5, 6)}. lazy. map{|x,y| 5}. map{|z| 5}. to_a ~~~ Tested and working in 2.1-2.3. Note that this is the absolute minimal input required to trigger the bug. -- https://bugs.ruby-lang.org/ Unsubscribe: