[FIR IDE] Update Analysis API test data, untie it from the FIR implementation

This commit is contained in:
Yan Zhulanow
2021-10-05 20:29:49 +09:00
committed by teamcityserver
parent 516dd825c2
commit 1272c6aa33
64 changed files with 642 additions and 615 deletions
@@ -1,4 +1,4 @@
KtFunctionCall:
argumentMapping = { Annotation("v1", "v2") -> (vararg elements: Annotation), Annotation(strings = arrayOf("v3", "v4")) -> (vararg elements: Annotation) }
targetFunction = kotlin/arrayOf(vararg elements: Annotation): kotlin.Array<Annotation>
substitutor = <map substitutor: {FirTypeParameterSymbol T=Annotation}>
substitutor = <map substitutor: {T = Annotation}>
@@ -1,4 +1,4 @@
KtFunctionCall:
argumentMapping = { 1 -> (vararg elements: kotlin.Int), 2 -> (vararg elements: kotlin.Int), 3 -> (vararg elements: kotlin.Int) }
targetFunction = kotlin/arrayOf(vararg elements: kotlin.Int): kotlin.Array<kotlin.Int>
substitutor = <map substitutor: {FirTypeParameterSymbol T=kotlin/Int}>
substitutor = <map substitutor: {T = kotlin/Int}>
@@ -1,4 +1,4 @@
KtFunctionCall:
argumentMapping = { 1 -> (a: kotlin.Int) }
targetFunction = /function(<extension receiver>: kotlin.String, a: kotlin.Int): kotlin.Unit
substitutor = <map substitutor: {FirTypeParameterSymbol A=kotlin/String, FirTypeParameterSymbol B=kotlin/Int}>
substitutor = <map substitutor: {A = kotlin/String, B = kotlin/Int}>
@@ -1,4 +1,4 @@
KtFunctionCall:
argumentMapping = { 1 -> (a: kotlin.Int), "" -> (b: kotlin.String) }
targetFunction = /function(a: kotlin.Int, b: kotlin.String): kotlin.Unit
substitutor = <map substitutor: {FirTypeParameterSymbol A=kotlin/Int, FirTypeParameterSymbol B=kotlin/String}>
substitutor = <map substitutor: {A = kotlin/Int, B = kotlin/String}>
@@ -1,4 +1,4 @@
KtFunctionCall:
argumentMapping = { 1 -> (r: kotlin.Int) }
targetFunction = /A.foo(<dispatch receiver>: A<kotlin.String>, r: kotlin.Int): kotlin.Unit
substitutor = <map substitutor: {FirTypeParameterSymbol R=kotlin/Int}>
substitutor = <map substitutor: {R = kotlin/Int}>
@@ -1,4 +1,4 @@
KtFunctionCall:
argumentMapping = { 2 -> (other: kotlin.Int) }
targetFunction = /to(<extension receiver>: kotlin.Int, other: kotlin.Int): kotlin.Int
substitutor = <map substitutor: {FirTypeParameterSymbol A=kotlin/Int, FirTypeParameterSymbol B=kotlin/Int}>
substitutor = <map substitutor: {A = kotlin/Int, B = kotlin/Int}>
@@ -1,4 +1,4 @@
KtFunctionCall:
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?>}>
substitutor = <map substitutor: {T = ft<kotlin/Int, kotlin/Int?>}>
@@ -2,4 +2,4 @@ KtVariableWithInvokeFunctionCall:
target = f: Foo
argumentMapping = { "" -> (t: kotlin.String) }
targetFunction = /invoke(<extension receiver>: Foo, t: kotlin.String): kotlin.Unit
substitutor = <map substitutor: {FirTypeParameterSymbol T=kotlin/String}>
substitutor = <map substitutor: {T = kotlin/String}>
@@ -2,4 +2,4 @@ KtVariableWithInvokeFunctionCall:
target = f: Foo
argumentMapping = { "" -> (t: kotlin.String) }
targetFunction = /Foo.invoke(<dispatch receiver>: Foo, t: kotlin.String): kotlin.Unit
substitutor = <map substitutor: {FirTypeParameterSymbol T=kotlin/String}>
substitutor = <map substitutor: {T = kotlin/String}>