[ruby-core:78153] [Ruby trunk Bug#12943] Backport r56268 to Ruby 2.3

From: tenderlove@...
Date: 2016-11-15 17:25:55 UTC
List: ruby-core #78153
Issue #12943 has been reported by Aaron Patterson.

----------------------------------------
Bug #12943: Backport r56268 to Ruby 2.3
https://bugs.ruby-lang.org/issues/12943

* Author: Aaron Patterson
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.3.3p218 (2016-11-15 revision 56802) [x86_64-darwin16]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
r56268 fixes a bug in the way `RubyVM::InstructionSequence.compile_file(path)` deals with syntax errors.  I'm trying to use the Yomikomu gem with Ruby 2.3, but running in to this bug.  I've attached a patch that backports the commit (with a test).

---Files--------------------------------
0001-iseq.c-syntax-error-in-compile_file.patch (2.54 KB)


-- 
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>

In This Thread

Prev Next