Skip to content
Permalink
Browse files
Geez. Make a more realistic error message
  • Loading branch information
enebo committed Dec 30, 2014
1 parent ba273a5 commit b00d83d8f95c6825fa3dec82e064186c38353957
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/org/jruby/ir/IRBuilder.java
@@ -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());
}
}

0 comments on commit b00d83d

Please sign in to comment.