FIR: Set resolve phase to BODY_RESOLVE for SAM constructor value
parameters. This was causing exceptions with analysis API trying to resolve the synthetic FirValueParameter because it could not find a KtDeclaration for it. Using BODY_RESOLVE should be safe; the SAM constructor function is also on BODY_RESOLVE and the type of the value parameter is known.
This commit is contained in:
committed by
TeamCityServer
parent
32bf7f33a7
commit
d16454b9af
+1
@@ -0,0 +1 @@
|
||||
val c = <expr>Comparator {x: Int, y: Int -> 1}</expr>
|
||||
Reference in New Issue
Block a user