Skip to content

Commit

Permalink
Fixes #4737. Line numbers in backtrace with multiline method invocati…
Browse files Browse the repository at this point in the history
…on are sometimes different from CRuby (again)
enebo committed Aug 17, 2017

Unverified

This user has not yet uploaded their public signing key.
1 parent 82049d0 commit 9bd7e92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/org/jruby/ir/IRBuilder.java
Original file line number Diff line number Diff line change
@@ -1084,6 +1084,7 @@ public Operand buildCall(Variable result, CallNode callNode) {
callInstr.setProcNew(true);
}

determineIfWeNeedLineNumber(callNode);
receiveBreakException(block, callInstr);

if (callNode.isLazy()) {

0 comments on commit 9bd7e92

Please sign in to comment.