diff --git a/compiler/fir/analysis-tests/testData/resolve/arguments/destructuring.fir.txt b/compiler/fir/analysis-tests/testData/resolve/arguments/destructuring.fir.txt index 9e6cf075d09..6a3ad07d1b3 100644 --- a/compiler/fir/analysis-tests/testData/resolve/arguments/destructuring.fir.txt +++ b/compiler/fir/analysis-tests/testData/resolve/arguments/destructuring.fir.txt @@ -37,8 +37,8 @@ FILE: destructuring.kt } ) R|/foo1|( = foo1@fun (: R|C|): R|kotlin/Unit| { - lval x: R|kotlin/String| = R|/|.R|/C.component1|() - lval y: R|kotlin/Int| = R|/|.R|/C.component2|() + lval x: R|kotlin/String| = R|/|.#() + lval y: R|kotlin/Int| = R|/|.#() #(R|/x|, R|/y|) } ) @@ -59,10 +59,10 @@ FILE: destructuring.kt } ) R|/foo2|( = foo2@fun (: R|C|, : R|C|): R|kotlin/Unit| { - lval x: R|kotlin/String| = R|/|.R|/C.component1|() - lval y: R|kotlin/Int| = R|/|.R|/C.component2|() - lval z: R|kotlin/String| = R|/|.R|/C.component1|() - lval w: R|kotlin/Int| = R|/|.R|/C.component2|() + lval x: R|kotlin/String| = R|/|.#() + lval y: R|kotlin/Int| = R|/|.#() + lval z: R|kotlin/String| = R|/|.#() + lval w: R|kotlin/Int| = R|/|.#() #(R|/x|.R|kotlin/String.plus|(R|/z|), R|/y|.R|kotlin/Int.plus|(R|/w|)) } ) diff --git a/compiler/fir/analysis-tests/testData/resolve/arguments/lambdaInLambda2.fir.txt b/compiler/fir/analysis-tests/testData/resolve/arguments/lambdaInLambda2.fir.txt index 21a88f6c732..bb9a26cbb16 100644 --- a/compiler/fir/analysis-tests/testData/resolve/arguments/lambdaInLambda2.fir.txt +++ b/compiler/fir/analysis-tests/testData/resolve/arguments/lambdaInLambda2.fir.txt @@ -7,7 +7,7 @@ FILE: main.kt public abstract interface PsiClass : R|kotlin/Any| { } public final fun test(): R|kotlin/Unit| { - lval processor: R|AdapterProcessor, ft>| = R|/AdapterProcessor.AdapterProcessor||, R|ft|>(R|/Function||, R|PsiClass?|>( = Function@fun (method: R|PsiMethod?|): R|PsiClass?| { + lval processor: R|AdapterProcessor, ft>| = R|/AdapterProcessor.AdapterProcessor||, R|ft|>(R|/Function||, R|ft|>( = Function@fun (method: R|PsiMethod?|): R|ft| { ^ R|/method|?.{ $subj$.R|/PsiMethod.containingClass| } } )) diff --git a/compiler/fir/analysis-tests/testData/resolve/delegates/kt41982.fir.txt b/compiler/fir/analysis-tests/testData/resolve/delegates/kt41982.fir.txt index 68989da9f2a..0a81a199ef7 100644 --- a/compiler/fir/analysis-tests/testData/resolve/delegates/kt41982.fir.txt +++ b/compiler/fir/analysis-tests/testData/resolve/delegates/kt41982.fir.txt @@ -26,7 +26,7 @@ FILE: kt41982.kt super|>() } - public final var start: R|kotlin/Long|by this@R|/Test|.R|/long|( = long@fun (): R|kotlin/Long?| { + public final var start: R|kotlin/Long|by this@R|/Test|.R|/long|( = long@fun (): R|kotlin/Long?| { ^ Long(0) } ) diff --git a/compiler/fir/analysis-tests/testData/resolve/diagnostics/multipleBounds.fir.txt b/compiler/fir/analysis-tests/testData/resolve/diagnostics/multipleBounds.fir.txt index 8664ca97613..b52b8c689f3 100644 --- a/compiler/fir/analysis-tests/testData/resolve/diagnostics/multipleBounds.fir.txt +++ b/compiler/fir/analysis-tests/testData/resolve/diagnostics/multipleBounds.fir.txt @@ -59,8 +59,8 @@ FILE: multipleBounds.kt } public final fun test(): R|kotlin/Unit| { - R|Jet87/Test1.Test1|() - R|Jet87/Test1.Test1|() + #() + #() R|Jet87/Test1.Test1|() } public final class Foo : R|kotlin/Any| { diff --git a/compiler/fir/analysis-tests/testData/resolve/diagnostics/returnTypeMismatchOnOverride.fir.txt b/compiler/fir/analysis-tests/testData/resolve/diagnostics/returnTypeMismatchOnOverride.fir.txt index 17a10ed869c..f4728911923 100644 --- a/compiler/fir/analysis-tests/testData/resolve/diagnostics/returnTypeMismatchOnOverride.fir.txt +++ b/compiler/fir/analysis-tests/testData/resolve/diagnostics/returnTypeMismatchOnOverride.fir.txt @@ -180,7 +180,7 @@ FILE: returnTypeMismatchOnOverride.kt } public open fun kek(): R|Z| { - ^kek R|/Z.Z|() + ^kek #() } } diff --git a/compiler/fir/analysis-tests/testData/resolve/diagnostics/typeArgumentsNotAllowed.fir.txt b/compiler/fir/analysis-tests/testData/resolve/diagnostics/typeArgumentsNotAllowed.fir.txt index 5cb34d28b71..0595a0eec0b 100644 --- a/compiler/fir/analysis-tests/testData/resolve/diagnostics/typeArgumentsNotAllowed.fir.txt +++ b/compiler/fir/analysis-tests/testData/resolve/diagnostics/typeArgumentsNotAllowed.fir.txt @@ -11,7 +11,7 @@ FILE: typeArgumentsNotAllowed.kt } public final fun foo(): R|kotlin/Unit| { - R|rest/bar|<>() + #<>() R|rest/bar|>|>() } public final fun bar(): R|kotlin/Unit| { @@ -42,7 +42,7 @@ FILE: typeArgumentsNotAllowed.kt } public final fun fest(): R|kotlin/Unit| { lval b: R|kotlin/collections/List| - R|rest/gest|<>() + #<>() R|rest/gest|() lval c: R|kotlin/collections/List>>| R|rest/gest|>|>() diff --git a/compiler/fir/analysis-tests/testData/resolve/diagnostics/upperBoundViolated.fir.txt b/compiler/fir/analysis-tests/testData/resolve/diagnostics/upperBoundViolated.fir.txt index 65924bdae96..42852b2085a 100644 --- a/compiler/fir/analysis-tests/testData/resolve/diagnostics/upperBoundViolated.fir.txt +++ b/compiler/fir/analysis-tests/testData/resolve/diagnostics/upperBoundViolated.fir.txt @@ -19,15 +19,15 @@ FILE: upperBoundViolated.kt public final fun fest(): R|kotlin/Unit| { } public final fun test(): R|kotlin/Unit| { - lval b1: R|B| = R|/B.B|() + lval b1: R|B| = #() lval b2: R|B| = R|/B.B|() - lval b3: R|B| = R|/B.B|() - lval b4: = R|/B.B|<>().#(ERROR_EXPR(No right operand)).#(#()).#(ERROR_EXPR(No right operand)) - lval b5: R|B>| = R|/B.B||>() - R|/fest|() + lval b3: R|B| = #() + lval b4: = #<>().#(ERROR_EXPR(No right operand)).#(#()).#(ERROR_EXPR(No right operand)) + lval b5: R|B>| = #|>() + #() R|/fest|() R|/fest|() - R|/fest||>() + #|>() } public open class S : R|kotlin/Any| { public constructor(): R|S| { @@ -46,8 +46,8 @@ FILE: upperBoundViolated.kt lval o2: R|S| = R|/S.S|() lval o3: R|S| = R|/S.S|() lval o4: R|S, T>| = R|/S.S||, R|T|>() - lval o5: R|S, T>| = R|/S.S||, R|T|>() - lval o5: R|S, T>| = R|/S.S||, R|T|>() + lval o5: R|S, T>| = #|, R|T|>() + lval o5: R|S, T>| = #|, R|T|>() lval o6: R|S, kotlin/String>>| = R|/S.S|, kotlin/String>|>() lval o7: R|S, kotlin/Nothing>>| = R|/S.S|, kotlin/Nothing>|>() } diff --git a/compiler/fir/analysis-tests/testData/resolve/extendedCheckers/canBeReplacedWithOperatorAssignment/mutableList.fir.txt b/compiler/fir/analysis-tests/testData/resolve/extendedCheckers/canBeReplacedWithOperatorAssignment/mutableList.fir.txt index 5c250b98f39..aa26237421d 100644 --- a/compiler/fir/analysis-tests/testData/resolve/extendedCheckers/canBeReplacedWithOperatorAssignment/mutableList.fir.txt +++ b/compiler/fir/analysis-tests/testData/resolve/extendedCheckers/canBeReplacedWithOperatorAssignment/mutableList.fir.txt @@ -1,5 +1,5 @@ FILE: mutableList.kt public final fun foo(): R|kotlin/Unit| { lvar listVar: R|kotlin/collections/MutableList| = R|kotlin/collections/mutableListOf|(vararg(Int(1), Int(2), Int(3))) - R|/listVar| = R|/listVar|.R|kotlin/collections/plus|(Int(4)) + R|/listVar| = R|/listVar|.#(Int(4)) } diff --git a/compiler/fir/analysis-tests/testData/resolveWithStdlib/diagnostics/functionReturnTypeMismatchChecker/basic.fir.txt b/compiler/fir/analysis-tests/testData/resolveWithStdlib/diagnostics/functionReturnTypeMismatchChecker/basic.fir.txt index 438b5ffeca3..59b640f535c 100644 --- a/compiler/fir/analysis-tests/testData/resolveWithStdlib/diagnostics/functionReturnTypeMismatchChecker/basic.fir.txt +++ b/compiler/fir/analysis-tests/testData/resolveWithStdlib/diagnostics/functionReturnTypeMismatchChecker/basic.fir.txt @@ -20,7 +20,7 @@ FILE: basic.kt ^okOneLineFunction Int(10).R|kotlin/Int.plus|(Int(1)) } public final fun errorOneLineFunction(): R|kotlin/String| { - ^errorOneLineFunction Int(10).R|kotlin/Int.plus|(Int(1)) + ^errorOneLineFunction Int(10).#(Int(1)) } public final class A : R|kotlin/Any| { public constructor(): R|A| { diff --git a/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/KtFirCompositeScope.fir.txt b/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/KtFirCompositeScope.fir.txt index e469b85bf08..a8a32925ec9 100644 --- a/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/KtFirCompositeScope.fir.txt +++ b/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/KtFirCompositeScope.fir.txt @@ -19,8 +19,8 @@ FILE: KtFirCompositeScope.kt public final fun getAllNames(): R|kotlin/collections/Set| { ^getAllNames R|/withValidityAssertion||>( = withValidityAssertion@fun (): R|kotlin/collections/Set| { - ^ R|/buildSet|( = buildSet@fun R|kotlin/collections/MutableSet|.(): R|kotlin/Unit| { - this@R|/KtFirCompositeScope|.R|/KtFirCompositeScope.subScopes|.R|kotlin/collections/flatMapTo|)|>(this@R|special/anonymous|, = flatMapTo@fun (it: R|KtScope|): R|kotlin/collections/Iterable| { + ^ R|/buildSet|( = buildSet@fun R|kotlin/collections/MutableSet|.(): R|kotlin/Unit| { + this@R|/KtFirCompositeScope|.R|/KtFirCompositeScope.subScopes|.R|kotlin/collections/flatMapTo||>(this@R|special/anonymous|, = flatMapTo@fun (it: R|KtScope|): R|kotlin/collections/Iterable| { ^ R|/it|.R|/KtScope.getAllNames|() } )