Pass SamConversionResolver explicitly cause it should be call site module-local

This commit is contained in:
Yan Zhulanow
2017-08-09 16:47:28 +03:00
committed by Pavel V. Talanov
parent f0f6a252a5
commit 6f180416b1
8 changed files with 69 additions and 41 deletions
@@ -50,7 +50,7 @@ public class SamType {
@NotNull
public KotlinType getKotlinFunctionType() {
//noinspection ConstantConditions
return getJavaClassDescriptor().getFunctionTypeForSamInterface();
return getJavaClassDescriptor().getDefaultFunctionTypeForSamInterface();
}
@NotNull