Skip to content

Commit

Permalink
re-re-re-re-re-apply this one-line fix :)
Browse files Browse the repository at this point in the history
  • Loading branch information
enebo committed Feb 12, 2015
1 parent 9ce86c4 commit 1976227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/ir/IRBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,7 @@ public void receiveRequiredArg(Node node, int argIndex, boolean post, int numPre
protected void receiveNonBlockArgs(final ArgsNode argsNode) {
final int numPreReqd = argsNode.getPreCount();
final int numPostReqd = argsNode.getPostCount();
final int required = argsNode.getRequiredArgsCount() + argsNode.getRequiredKeywordCount(); // numPreReqd + numPostReqd
final int required = argsNode.getRequiredArgsCount(); // numPreReqd + numPostReqd
int opt = argsNode.getOptionalArgsCount();
int rest = argsNode.getRestArg();

Expand Down

0 comments on commit 1976227

Please sign in to comment.