Skip to content

Commit

Permalink
Geez. Make a more realistic error message
Browse files Browse the repository at this point in the history
  • Loading branch information
enebo committed Dec 30, 2014
1 parent ba273a5 commit b00d83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/ir/IRBuilder.java
Expand Up @@ -599,7 +599,7 @@ protected Operand buildCallArgs(List<Operand> argsList, Node args, IRScope s) {
break;
}
default: {
throw new NotCompilableException("Use buildRoot(); Root node at: " + args.getPosition());
throw new NotCompilableException("Invalid node for callArgs: " + args.getClass().getSimpleName() + ":" + args.getPosition());
}
}

Expand Down

0 comments on commit b00d83d

Please sign in to comment.