Fix KT-47708 in FIR by transferring SAM annotations to synthetic constr.
This commit is contained in:
+1
-1
@@ -485,7 +485,7 @@ internal class AdapterGenerator(
|
||||
}
|
||||
|
||||
internal fun getFunctionTypeForPossibleSamType(parameterType: ConeKotlinType): ConeKotlinType? {
|
||||
return samResolver.getFunctionTypeForPossibleSamType(parameterType)
|
||||
return samResolver.getSamInfoForPossibleSamType(parameterType)?.type
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user