Skip to content

Commit 483a917

Browse files
committed
Rename hasMethodBlock argument in LoadArgumentsTranslator.
1 parent d9092b1 commit 483a917

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/truffleruby/parser/LoadArgumentsTranslator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ private enum State {
105105
private State state;
106106
private boolean firstOpt = false;
107107

108-
public LoadArgumentsTranslator(Node currentNode, ArgsParseNode argsNode, RubyContext context, Source source, ParserContext parserContext, boolean isProc, boolean hasMethodBlock, BodyTranslator methodBodyTranslator) {
108+
public LoadArgumentsTranslator(Node currentNode, ArgsParseNode argsNode, RubyContext context, Source source, ParserContext parserContext, boolean isProc, boolean isMethod, BodyTranslator methodBodyTranslator) {
109109
super(currentNode, context, source, parserContext);
110110
this.isProc = isProc;
111-
this.isMethod = hasMethodBlock;
111+
this.isMethod = isMethod;
112112
this.methodBodyTranslator = methodBodyTranslator;
113113
this.argsNode = argsNode;
114114
this.required = argsNode.getRequiredCount();

0 commit comments

Comments
 (0)