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

From: tenderlove@...
Date: 2016-11-16 18:40:38 UTC
List: ruby-core #78177
Issue #12943 has been updated by Aaron Patterson.


No problem!  I wasn't sure about how to open backports, so I just created a ticket.  :)

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

* Author: Aaron Patterson
* Status: Closed
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.3.3p218 (2016-11-15 revision 56802) [x86_64-darwin16]
* Backport: 2.1: DONTNEED, 2.2: UNKNOWN, 2.3: REQUIRED
----------------------------------------
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