Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Thinko spotted by GlitchMr++.
  • Loading branch information
jnthn committed Jun 30, 2013
1 parent 9e85b50 commit e0bb438
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vm/jvm/runtime/org/perl6/rakudo/Binder.java
Expand Up @@ -331,8 +331,8 @@ else if (desiredNative == 0) {
if (coerceType != null) {
/* Coercing natives not possible - nothing to call a method on. */
if (flag != CallSiteDescriptor.ARG_OBJ) {
if (error == null)
error[1] = String.format(
if (error != null)
error[0] = String.format(
"Unable to coerce natively typed parameter '%s'",
varName);
return BIND_RESULT_FAIL;
Expand Down

0 comments on commit e0bb438

Please sign in to comment.