Skip to content

Commit

Permalink
Emit type name for unknown instructions in JASTCompiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
peschwa committed Sep 21, 2016
1 parent b253419 commit 0eff02d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/jvm/runtime/org/perl6/nqp/jast2bc/JASTCompiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ else if (istype(insn, jastInstructionList, tc) != 0) {
}
}
else {
throw new Exception("Unknown JAST::Node in @!instructions");
throw new Exception("Unknown JAST::Node in @!instructions: " + typeName(insn, tc));
}
}

Expand Down

0 comments on commit 0eff02d

Please sign in to comment.