Skip to content

Commit 2863aad

Browse files
committed
fix typo
1 parent 11aa9a9 commit 2863aad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/org.codehaus.groovy25/src/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2635,7 +2635,7 @@ && getType(nameExpr).equals(STRING_TYPE)) {
26352635
.reduce(WideningCategories::lowestUpperBound)
26362636
.filter(returnType -> !returnType.equals(OBJECT_TYPE))
26372637
.ifPresent(returnType -> storeType(expression, wrapClosureType(returnType)));
2638-
expression.setNodeMetaData(MethodNode.class, candidates); // GROOVY-9803
2638+
expression.putNodeMetaData(MethodNode.class, candidates); // GROOVY-9803
26392639
}
26402640
}
26412641
}

0 commit comments

Comments
 (0)