Not loading SAM adapters from compiled Kotlin classes.
This commit is contained in:
+3
-1
@@ -280,7 +280,9 @@ public final class JavaFunctionResolver {
|
||||
if (function != null) {
|
||||
functionsFromCurrent.add(function);
|
||||
|
||||
ContainerUtil.addIfNotNull(functionsFromCurrent, resolveSamAdapter(function));
|
||||
if (!DescriptorResolverUtils.isKotlinClass(psiClass)) {
|
||||
ContainerUtil.addIfNotNull(functionsFromCurrent, resolveSamAdapter(function));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user