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,2 +1,2 @@
|
||||
val c = java.util.<caret>Comparator {(x: Int, y: Int) -> 1}
|
||||
val c = java.util.<caret>Comparator {x: Int, y: Int -> 1}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user