From: usa@... Date: 2016-02-03T10:34:44+00:00 Subject: [ruby-core:73670] [Ruby trunk Bug#11845] source_location against symbol.to_proc causes infinite loop Issue #11845 has been updated by Usaku NAKAMURA. Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONTNEED ---------------------------------------- Bug #11845: source_location against symbol.to_proc causes infinite loop https://bugs.ruby-lang.org/issues/11845#change-56862 * Author: Kouhei Sutou * Status: Closed * Priority: Normal * Assignee: * ruby -v: ruby 2.3.0dev (2015-12-19 trunk 53202) [x86_64-linux] * Backport: 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONTNEED ---------------------------------------- `ruby -v -e ':class.to_proc.source_location'` causes inifinite loop: ```text % /tmp/local/bin/ruby -v -e ':class.to_proc.source_location' ruby 2.3.0dev (2015-12-19 trunk 53202) [x86_64-linux] (never finished) ``` It's also caused with ruby 2.3.0preview2: ```text /tmp/local/bin/ruby -v -e ':class.to_proc.source_location' ruby 2.3.0preview2 (2015-12-11 trunk 53028) [x86_64-linux] (never finished) ``` This may be related to `Proc#call` optimization. -- https://bugs.ruby-lang.org/ Unsubscribe: