Shadow-Devil commented on code in PR #1824:
URL: https://github.com/apache/groovy/pull/1824#discussion_r1020046859


##########
src/main/java/org/codehaus/groovy/ast/tools/GenericsUtils.java:
##########
@@ -950,7 +956,7 @@ public static boolean hasUnresolvedGenerics(final ClassNode 
type) {
     public static Tuple2<ClassNode[], ClassNode> parameterizeSAM(final 
ClassNode samType) {
         MethodNode abstractMethod = ClassHelper.findSAM(samType);
 
-        Map<GenericsType, GenericsType> generics = 
makeDeclaringAndActualGenericsTypeMapOfExactType(abstractMethod.getDeclaringClass(),
 samType);
+        Map<GenericsType, GenericsType> generics = 
makeDeclaringAndActualGenericsTypeMap(abstractMethod.getDeclaringClass(), 
samType);

Review Comment:
   I'm sorry, this change was not intended to be commited, it was just for 
testing. 
   I will revert it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@groovy.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to