Issue #12811 has been reported by Andrew Metcalf.

----------------------------------------
Bug #12811: SyntaxError does not have a backtrace in 2.3+
https://bugs.ruby-lang.org/issues/12811

* Author: Andrew Metcalf
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
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: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>