Skip to content

Fix #7670. Coverage data goes off the rails.#7686

Merged
enebo merged 1 commit intojruby:masterfrom
enebo:fix_7670
Feb 22, 2023
Merged

Fix #7670. Coverage data goes off the rails.#7686
enebo merged 1 commit intojruby:masterfrom
enebo:fix_7670

Conversation

@enebo
Copy link
Member

@enebo enebo commented Feb 22, 2023

The Parser for JRuby 9.4 is very different from 9.3. Somehow we are emitting an implicit nil node for empty returns AND that somehow is the node marked as newline (which then is used to emit a line number instr). implicit nils have a line number of -1.

The Parser for JRuby 9.4 is very different from 9.3.  Somehow
we are emitting an implicit nil node for empty returns AND
that somehow is the node marked as newline (which then is used
to emit a line number instr).  implicit nils have a line number
of -1.
@enebo enebo added this to the JRuby 9.4.2.0 milestone Feb 22, 2023
@enebo enebo merged commit 5e65da1 into jruby:master Feb 22, 2023
@enebo enebo deleted the fix_7670 branch February 22, 2023 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant