FIR: Rename SAM constructor parameter name from "block" to "function".
This matches FE 1.0 (see core/descriptors/src/org/jetbrains/kotlin/resolve/sam/samConstructorUtils.kt).
This commit is contained in:
committed by
TeamCityServer
parent
d16454b9af
commit
56cc40f639
+2
-2
@@ -1,4 +1,4 @@
|
||||
KtFunctionCall:
|
||||
argumentMapping = { {x: Int, y: Int -> 1} -> (block: kotlin.Function2<ft<kotlin.Int, kotlin.Int?>, ft<kotlin.Int, kotlin.Int?>, kotlin.Int>) }
|
||||
targetFunction = java/util/Comparator(block: kotlin.Function2<ft<kotlin.Int, kotlin.Int?>, ft<kotlin.Int, kotlin.Int?>, kotlin.Int>): java.util.Comparator<ft<kotlin.Int, kotlin.Int?>>
|
||||
argumentMapping = { {x: Int, y: Int -> 1} -> (function: kotlin.Function2<ft<kotlin.Int, kotlin.Int?>, ft<kotlin.Int, kotlin.Int?>, kotlin.Int>) }
|
||||
targetFunction = java/util/Comparator(function: kotlin.Function2<ft<kotlin.Int, kotlin.Int?>, ft<kotlin.Int, kotlin.Int?>, kotlin.Int>): java.util.Comparator<ft<kotlin.Int, kotlin.Int?>>
|
||||
substitutor = <map substitutor: {FirTypeParameterSymbol T=ft<kotlin/Int, kotlin/Int?>}>
|
||||
Reference in New Issue
Block a user