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

From: nagachika00@...
Date: 2016-11-19 03:03:59 UTC
List: ruby-core #78211
Issue #12943 has been updated by Tomoyuki Chikanaga.

Backport changed from 2.1: DONTNEED, 2.2: UNKNOWN, 2.3: REQUIRED to 2.1: DONTNEED, 2.2: UNKNOWN, 2.3: DONE

Backported r56267 and r56268 (based on a patch provided Aaron) into ruby_2_3 at r56838.

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

* 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: DONE
----------------------------------------
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:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next