From: nagachika00@... Date: 2016-10-06T17:06:39+00:00 Subject: [ruby-core:77506] [Ruby trunk Bug#12811] SyntaxError does not have a backtrace in 2.3+ Issue #12811 has been updated by Tomoyuki Chikanaga. Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: REQUIRED ---------------------------------------- Bug #12811: SyntaxError does not have a backtrace in 2.3+ https://bugs.ruby-lang.org/issues/12811#change-60769 * Author: Andrew Metcalf * Status: Closed * Priority: Normal * Assignee: * ruby -v: ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15] * Backport: 2.1: DONTNEED, 2.2: DONTNEED, 2.3: REQUIRED ---------------------------------------- SyntaxError's do not have a backtrace in Ruby 2.3.0, 2.3.1 and 2.3.0-preview1. To reproduce, place both of the attached scripts in the same directory and run `ruby repro.rb`. In Ruby 2.3+ no backtrace is printed. In Ruby 2.2.4p230, a normal backtrace is printed. ---Files-------------------------------- invalid.rb (2 Bytes) repro.rb (85 Bytes) -- https://bugs.ruby-lang.org/ Unsubscribe: