Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correctly deal with anons when failing a binding type check.
  • Loading branch information
peschwa committed Oct 30, 2015
1 parent ba70274 commit e80eb1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/jvm/runtime/org/perl6/rakudo/Binder.java
Expand Up @@ -372,7 +372,7 @@ else if (desiredNative == 0) {
if (thrower != null) {
error[0] = thrower;
error[1] = bindThrower;
error[2] = new Object[] { decontValue.st.WHAT, nomType.st.WHAT, varName };
error[2] = new Object[] { decontValue, nomType.st.WHAT, (varName != null ? varName : "<anon>") };
}
else {
error[0] = String.format(
Expand Down

0 comments on commit e80eb1d

Please sign in to comment.