Skip to content

Commit

Permalink
Add braces to the now two-line body of an if
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterDuke17 committed Feb 23, 2017
1 parent b1def95 commit 2f6d2c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vm/jvm/runtime/org/perl6/rakudo/Binder.java
Expand Up @@ -961,11 +961,12 @@ else if (namedNames == null) {
CallSiteDescriptor.ARG_OBJ, false, error);
}
else if (!suppressArityFail) {
if (error != null)
if (error != null) {
namedNames.at_pos_native(tc, 0);
error[0] = "Required named argument '" +
tc.native_s +
"' not passed";
}
return BIND_RESULT_FAIL;
}
}
Expand Down

0 comments on commit 2f6d2c6

Please sign in to comment.