Project

General

Profile

Actions

Bug #12943

closed

Backport r56268 to Ruby 2.3

Added by tenderlovemaking (Aaron Patterson) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.3p218 (2016-11-15 revision 56802) [x86_64-darwin16]
[ruby-core:78153]

Description

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) 0001-iseq.c-syntax-error-in-compile_file.patch tenderlovemaking (Aaron Patterson), 11/15/2016 05:25 PM

Updated by nagachika (Tomoyuki Chikanaga) over 7 years ago

  • Status changed from Open to Closed
  • Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: DONTNEED, 2.2: UNKNOWN, 2.3: REQUIRED

Thank you for your report!
I'll check r56268 later.
I close this ticket but it's because we (stable maintainers) track closed tickets with Backport REQUIRED field. Please don't worry.

Updated by tenderlovemaking (Aaron Patterson) over 7 years ago

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

Updated by nagachika (Tomoyuki Chikanaga) over 7 years ago

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0