[FIR] Fix ambiguity of Throws and other std annotations importing

Including `SharedImmutable` and `ThreadLocal`

Simplify code, remove `DefaultImportPriority.KOTLIN_THROWS`

Introduce `FirNativeClassMapper`
This commit is contained in:
Ivan Kochurkin
2023-11-14 17:22:13 +01:00
committed by Space Team
parent adf4f823ae
commit 115d685d91
151 changed files with 656 additions and 931 deletions
@@ -2,21 +2,19 @@ implicit receivers:
scopes: scopes:
DefaultStarImportingScope, index = 0 DefaultStarImportingScope, index = 0
DefaultSimpleImportingScope, index = 1 ExplicitStarImportingScope, index = 1
ExplicitStarImportingScope, index = 2
packages: 0 packages: 0
classifiers: 0 classifiers: 0
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 2
DefaultSimpleImportingScope, index = 3 DefaultSimpleImportingScope, index = 3
DefaultSimpleImportingScope, index = 4 PackageMemberScope, index = 4
PackageMemberScope, index = 5 ExplicitSimpleImportingScope, index = 5
ExplicitSimpleImportingScope, index = 6
packages: 0 packages: 0
classifiers: 0 classifiers: 0
callables: 0 callables: 0
@@ -2,21 +2,19 @@ implicit receivers:
scopes: scopes:
DefaultStarImportingScope, index = 0 DefaultStarImportingScope, index = 0
DefaultSimpleImportingScope, index = 1 ExplicitStarImportingScope, index = 1
ExplicitStarImportingScope, index = 2
packages: 0 packages: 0
classifiers: 0 classifiers: 0
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 2
DefaultSimpleImportingScope, index = 3 DefaultSimpleImportingScope, index = 3
DefaultSimpleImportingScope, index = 4 PackageMemberScope, index = 4
PackageMemberScope, index = 5 ExplicitSimpleImportingScope, index = 5
ExplicitSimpleImportingScope, index = 6
packages: 0 packages: 0
classifiers: 0 classifiers: 0
callables: 0 callables: 0
@@ -2,21 +2,19 @@ implicit receivers:
scopes: scopes:
DefaultStarImportingScope, index = 0 DefaultStarImportingScope, index = 0
DefaultSimpleImportingScope, index = 1 ExplicitStarImportingScope, index = 1
ExplicitStarImportingScope, index = 2
packages: 0 packages: 0
classifiers: 0 classifiers: 0
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 2
DefaultSimpleImportingScope, index = 3 DefaultSimpleImportingScope, index = 3
DefaultSimpleImportingScope, index = 4 PackageMemberScope, index = 4
PackageMemberScope, index = 5 ExplicitSimpleImportingScope, index = 5
ExplicitSimpleImportingScope, index = 6
packages: 0 packages: 0
classifiers: 1 classifiers: 1
class A class A
@@ -2,21 +2,19 @@ implicit receivers:
scopes: scopes:
DefaultStarImportingScope, index = 0 DefaultStarImportingScope, index = 0
DefaultSimpleImportingScope, index = 1 ExplicitStarImportingScope, index = 1
ExplicitStarImportingScope, index = 2
packages: 0 packages: 0
classifiers: 0 classifiers: 0
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 2
DefaultSimpleImportingScope, index = 3 DefaultSimpleImportingScope, index = 3
DefaultSimpleImportingScope, index = 4 PackageMemberScope, index = 4
PackageMemberScope, index = 5 ExplicitSimpleImportingScope, index = 5
ExplicitSimpleImportingScope, index = 6
packages: 0 packages: 0
classifiers: 1 classifiers: 1
KtNamedClassOrObjectSymbol: KtNamedClassOrObjectSymbol:
@@ -45,4 +43,5 @@ scopes:
typeParameters: [] typeParameters: []
visibility: Public visibility: Public
callables: 0 callables: 0
constructors: 0 constructors: 0
@@ -2,21 +2,19 @@ implicit receivers:
scopes: scopes:
DefaultStarImportingScope, index = 0 DefaultStarImportingScope, index = 0
DefaultSimpleImportingScope, index = 1 ExplicitStarImportingScope, index = 1
ExplicitStarImportingScope, index = 2
packages: 0 packages: 0
classifiers: 0 classifiers: 0
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 2
DefaultSimpleImportingScope, index = 3 DefaultSimpleImportingScope, index = 3
DefaultSimpleImportingScope, index = 4 PackageMemberScope, index = 4
PackageMemberScope, index = 5 ExplicitSimpleImportingScope, index = 5
ExplicitSimpleImportingScope, index = 6
packages: 0 packages: 0
classifiers: 0 classifiers: 0
callables: 0 callables: 0
@@ -2,21 +2,19 @@ implicit receivers:
scopes: scopes:
DefaultStarImportingScope, index = 0 DefaultStarImportingScope, index = 0
DefaultSimpleImportingScope, index = 1 ExplicitStarImportingScope, index = 1
ExplicitStarImportingScope, index = 2
packages: 0 packages: 0
classifiers: 0 classifiers: 0
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 2
DefaultSimpleImportingScope, index = 3 DefaultSimpleImportingScope, index = 3
DefaultSimpleImportingScope, index = 4 PackageMemberScope, index = 4
PackageMemberScope, index = 5 ExplicitSimpleImportingScope, index = 5
ExplicitSimpleImportingScope, index = 6
packages: 0 packages: 0
classifiers: 0 classifiers: 0
callables: 0 callables: 0
@@ -2,21 +2,19 @@ implicit receivers:
scopes: scopes:
DefaultStarImportingScope, index = 0 DefaultStarImportingScope, index = 0
DefaultSimpleImportingScope, index = 1 ExplicitStarImportingScope, index = 1
ExplicitStarImportingScope, index = 2
packages: 0 packages: 0
classifiers: 0 classifiers: 0
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 2
DefaultSimpleImportingScope, index = 3 DefaultSimpleImportingScope, index = 3
DefaultSimpleImportingScope, index = 4 PackageMemberScope, index = 4
PackageMemberScope, index = 5 ExplicitSimpleImportingScope, index = 5
ExplicitSimpleImportingScope, index = 6
packages: 0 packages: 0
classifiers: 1 classifiers: 1
class A class A
@@ -2,21 +2,19 @@ implicit receivers:
scopes: scopes:
DefaultStarImportingScope, index = 0 DefaultStarImportingScope, index = 0
DefaultSimpleImportingScope, index = 1 ExplicitStarImportingScope, index = 1
ExplicitStarImportingScope, index = 2
packages: 0 packages: 0
classifiers: 0 classifiers: 0
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 2
DefaultSimpleImportingScope, index = 3 DefaultSimpleImportingScope, index = 3
DefaultSimpleImportingScope, index = 4 PackageMemberScope, index = 4
PackageMemberScope, index = 5 ExplicitSimpleImportingScope, index = 5
ExplicitSimpleImportingScope, index = 6
packages: 0 packages: 0
classifiers: 1 classifiers: 1
KtNamedClassOrObjectSymbol: KtNamedClassOrObjectSymbol:
@@ -45,4 +43,5 @@ scopes:
typeParameters: [] typeParameters: []
visibility: Public visibility: Public
callables: 0 callables: 0
constructors: 0 constructors: 0
@@ -2,9 +2,7 @@ implicit receivers:
scopes: scopes:
DefaultStarImportingScope, index = 0 DefaultStarImportingScope, index = 0
DefaultSimpleImportingScope, index = 1 ExplicitStarImportingScope, index = 1
ExplicitStarImportingScope, index = 2
packages: 0 packages: 0
classifiers: 1 classifiers: 1
class A class A
@@ -12,13 +10,13 @@ scopes:
fun b() fun b()
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 2
DefaultSimpleImportingScope, index = 3 DefaultSimpleImportingScope, index = 3
DefaultSimpleImportingScope, index = 4 PackageMemberScope, index = 4
PackageMemberScope, index = 5 ExplicitSimpleImportingScope, index = 5
ExplicitSimpleImportingScope, index = 6
packages: 0 packages: 0
classifiers: 0 classifiers: 0
callables: 0 callables: 0
@@ -2,9 +2,7 @@ implicit receivers:
scopes: scopes:
DefaultStarImportingScope, index = 0 DefaultStarImportingScope, index = 0
DefaultSimpleImportingScope, index = 1 ExplicitStarImportingScope, index = 1
ExplicitStarImportingScope, index = 2
packages: 0 packages: 0
classifiers: 1 classifiers: 1
KtNamedClassOrObjectSymbol: KtNamedClassOrObjectSymbol:
@@ -64,14 +62,15 @@ scopes:
visibility: Public visibility: Public
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 2
DefaultSimpleImportingScope, index = 3 DefaultSimpleImportingScope, index = 3
DefaultSimpleImportingScope, index = 4 PackageMemberScope, index = 4
PackageMemberScope, index = 5 ExplicitSimpleImportingScope, index = 5
ExplicitSimpleImportingScope, index = 6
packages: 0 packages: 0
classifiers: 0 classifiers: 0
callables: 0 callables: 0
constructors: 0 constructors: 0
@@ -32,6 +32,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 5 DefaultStarImportingScope, index = 5
DefaultStarImportingScope, index = 6
@@ -94,6 +94,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 5 DefaultStarImportingScope, index = 5
DefaultStarImportingScope, index = 6
@@ -52,6 +52,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 7 DefaultStarImportingScope, index = 7
DefaultStarImportingScope, index = 8
@@ -667,6 +667,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 7 DefaultStarImportingScope, index = 7
DefaultStarImportingScope, index = 8
@@ -51,6 +51,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 7 DefaultStarImportingScope, index = 7
DefaultStarImportingScope, index = 8
@@ -667,7 +667,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 7 DefaultStarImportingScope, index = 7
DefaultStarImportingScope, index = 8
@@ -58,7 +58,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 8 DefaultStarImportingScope, index = 8
DefaultStarImportingScope, index = 9
@@ -283,6 +283,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 8 DefaultStarImportingScope, index = 8
DefaultStarImportingScope, index = 9
@@ -32,6 +32,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 5 DefaultStarImportingScope, index = 5
DefaultStarImportingScope, index = 6
@@ -94,6 +94,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 5 DefaultStarImportingScope, index = 5
DefaultStarImportingScope, index = 6
@@ -29,7 +29,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 5 DefaultStarImportingScope, index = 5
DefaultStarImportingScope, index = 6
@@ -41,7 +41,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 5 DefaultStarImportingScope, index = 5
DefaultStarImportingScope, index = 6
@@ -23,7 +23,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 5 DefaultStarImportingScope, index = 5
DefaultStarImportingScope, index = 6
@@ -23,7 +23,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 5 DefaultStarImportingScope, index = 5
DefaultStarImportingScope, index = 6
@@ -93,7 +93,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 11 DefaultStarImportingScope, index = 11
DefaultStarImportingScope, index = 12
@@ -94,7 +94,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 11 DefaultStarImportingScope, index = 11
DefaultStarImportingScope, index = 12
@@ -953,7 +953,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 11 DefaultStarImportingScope, index = 11
DefaultStarImportingScope, index = 12
@@ -893,6 +893,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 11 DefaultStarImportingScope, index = 11
DefaultStarImportingScope, index = 12
@@ -63,7 +63,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 10 DefaultStarImportingScope, index = 10
DefaultStarImportingScope, index = 11
@@ -105,7 +105,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 10 DefaultStarImportingScope, index = 10
DefaultStarImportingScope, index = 11
@@ -50,6 +50,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 9 DefaultStarImportingScope, index = 9
DefaultStarImportingScope, index = 10
@@ -147,6 +147,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 9 DefaultStarImportingScope, index = 9
DefaultStarImportingScope, index = 10
@@ -48,7 +48,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 7 DefaultStarImportingScope, index = 7
DefaultStarImportingScope, index = 8
@@ -400,7 +400,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 7 DefaultStarImportingScope, index = 7
DefaultStarImportingScope, index = 8
@@ -55,6 +55,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 8 DefaultStarImportingScope, index = 8
DefaultStarImportingScope, index = 9
@@ -376,6 +376,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 8 DefaultStarImportingScope, index = 8
DefaultStarImportingScope, index = 9
@@ -32,7 +32,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 5 DefaultStarImportingScope, index = 5
DefaultStarImportingScope, index = 6
@@ -94,7 +94,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 5 DefaultStarImportingScope, index = 5
DefaultStarImportingScope, index = 6
@@ -72,7 +72,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 10 DefaultStarImportingScope, index = 10
DefaultStarImportingScope, index = 11
@@ -384,7 +384,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 10 DefaultStarImportingScope, index = 10
DefaultStarImportingScope, index = 11
@@ -45,7 +45,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 8 DefaultStarImportingScope, index = 8
DefaultStarImportingScope, index = 9
@@ -66,7 +66,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 8 DefaultStarImportingScope, index = 8
DefaultStarImportingScope, index = 9
@@ -154,7 +154,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 19 DefaultStarImportingScope, index = 19
DefaultStarImportingScope, index = 20
@@ -1125,7 +1125,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 19 DefaultStarImportingScope, index = 19
DefaultStarImportingScope, index = 20
@@ -74,7 +74,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 11 DefaultStarImportingScope, index = 11
DefaultStarImportingScope, index = 12
@@ -277,7 +277,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 11 DefaultStarImportingScope, index = 11
DefaultStarImportingScope, index = 12
@@ -74,6 +74,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 11 DefaultStarImportingScope, index = 11
DefaultStarImportingScope, index = 12
@@ -277,6 +277,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 11 DefaultStarImportingScope, index = 11
DefaultStarImportingScope, index = 12
@@ -57,7 +57,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 8 DefaultStarImportingScope, index = 8
DefaultStarImportingScope, index = 9
@@ -279,7 +279,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 8 DefaultStarImportingScope, index = 8
DefaultStarImportingScope, index = 9
@@ -31,6 +31,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 6 DefaultStarImportingScope, index = 6
DefaultStarImportingScope, index = 7
@@ -79,6 +79,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 6 DefaultStarImportingScope, index = 6
DefaultStarImportingScope, index = 7
@@ -58,6 +58,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 9 DefaultStarImportingScope, index = 9
DefaultStarImportingScope, index = 10
@@ -285,6 +285,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 9 DefaultStarImportingScope, index = 9
DefaultStarImportingScope, index = 10
@@ -40,6 +40,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 7 DefaultStarImportingScope, index = 7
DefaultStarImportingScope, index = 8
@@ -160,6 +160,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 7 DefaultStarImportingScope, index = 7
DefaultStarImportingScope, index = 8
@@ -26,6 +26,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 5 DefaultStarImportingScope, index = 5
DefaultStarImportingScope, index = 6
@@ -105,6 +105,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 5 DefaultStarImportingScope, index = 5
DefaultStarImportingScope, index = 6
@@ -32,6 +32,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 6 DefaultStarImportingScope, index = 6
DefaultStarImportingScope, index = 7
@@ -99,6 +99,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 6 DefaultStarImportingScope, index = 6
DefaultStarImportingScope, index = 7
@@ -58,7 +58,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 8 DefaultStarImportingScope, index = 8
DefaultStarImportingScope, index = 9
@@ -305,6 +305,5 @@ scopes:
callables: 0 callables: 0
constructors: 0 constructors: 0
DefaultSimpleImportingScope, index = 8 DefaultStarImportingScope, index = 8
DefaultStarImportingScope, index = 9
@@ -86,6 +86,12 @@ public class LLFirNativeTestGenerated extends AbstractLLFirNativeTest {
runTest("compiler/testData/diagnostics/nativeTests/sharedImmutable.kt"); runTest("compiler/testData/diagnostics/nativeTests/sharedImmutable.kt");
} }
@Test
@TestMetadata("stdClassAndTypealiasAmbiguity.kt")
public void testStdClassAndTypealiasAmbiguity() throws Exception {
runTest("compiler/testData/diagnostics/nativeTests/stdClassAndTypealiasAmbiguity.kt");
}
@Test @Test
@TestMetadata("threadLocal.kt") @TestMetadata("threadLocal.kt")
public void testThreadLocal() throws Exception { public void testThreadLocal() throws Exception {
@@ -86,6 +86,12 @@ public class LLFirReversedNativeTestGenerated extends AbstractLLFirReversedNativ
runTest("compiler/testData/diagnostics/nativeTests/sharedImmutable.kt"); runTest("compiler/testData/diagnostics/nativeTests/sharedImmutable.kt");
} }
@Test
@TestMetadata("stdClassAndTypealiasAmbiguity.kt")
public void testStdClassAndTypealiasAmbiguity() throws Exception {
runTest("compiler/testData/diagnostics/nativeTests/stdClassAndTypealiasAmbiguity.kt");
}
@Test @Test
@TestMetadata("threadLocal.kt") @TestMetadata("threadLocal.kt")
public void testThreadLocal() throws Exception { public void testThreadLocal() throws Exception {
@@ -2,28 +2,26 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol param: R|kotlin/String?| FirValueParameterSymbol param: R|kotlin/String?|
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Element 9 Element 8
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol it: R|kotlin/String| FirValueParameterSymbol it: R|kotlin/String|
Element 10 Element 9
Scope: FirLocalScope Scope: FirLocalScope
Smart Casts: Smart Casts:
FirValueParameterSymbol param: R|kotlin/String?| FirValueParameterSymbol param: R|kotlin/String?|
@@ -36,4 +34,4 @@ FILE: [ResolvedTo(IMPORTS)] KT-61728.kt
^ R|<local>/it| ^ R|<local>/it|
} }
) } ?: ^foo Null(null) ) } ?: ^foo Null(null)
} }
@@ -2,16 +2,14 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
FILE: [ResolvedTo(IMPORTS)] contextReceiver.kt FILE: [ResolvedTo(IMPORTS)] contextReceiver.kt
@@ -2,23 +2,21 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirNestedClassifierScopeWithSubstitution Scope: FirNestedClassifierScopeWithSubstitution
Classifiers: Classifiers:
FirRegularClassSymbol public final class Nested : R|kotlin/Any| FirRegularClassSymbol public final class Nested : R|kotlin/Any|
Static scope owner symbol: FirRegularClassSymbol public open class Base : R|kotlin/Any| Static scope owner symbol: FirRegularClassSymbol public open class Base : R|kotlin/Any|
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol name: R|kotlin/String| = String(name) FirValueParameterSymbol name: R|kotlin/String| = String(name)
@@ -2,23 +2,21 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirNestedClassifierScopeWithSubstitution Scope: FirNestedClassifierScopeWithSubstitution
Classifiers: Classifiers:
FirRegularClassSymbol public final class Nested : R|kotlin/Any| FirRegularClassSymbol public final class Nested : R|kotlin/Any|
Static scope owner symbol: FirRegularClassSymbol public open class Base : R|kotlin/Any| Static scope owner symbol: FirRegularClassSymbol public open class Base : R|kotlin/Any|
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol name: R|kotlin/String| FirValueParameterSymbol name: R|kotlin/String|
@@ -2,23 +2,21 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirNestedClassifierScopeWithSubstitution Scope: FirNestedClassifierScopeWithSubstitution
Classifiers: Classifiers:
FirRegularClassSymbol public final class Nested : R|kotlin/Any| FirRegularClassSymbol public final class Nested : R|kotlin/Any|
Static scope owner symbol: FirRegularClassSymbol public open class Base : R|kotlin/Any| Static scope owner symbol: FirRegularClassSymbol public open class Base : R|kotlin/Any|
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol primaryConstructorParameter: R|test/Base.Nested| FirValueParameterSymbol primaryConstructorParameter: R|test/Base.Nested|
@@ -2,23 +2,21 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirNestedClassifierScopeWithSubstitution Scope: FirNestedClassifierScopeWithSubstitution
Classifiers: Classifiers:
FirRegularClassSymbol public final class Nested : R|kotlin/Any| FirRegularClassSymbol public final class Nested : R|kotlin/Any|
Static scope owner symbol: FirRegularClassSymbol public open class Base : R|kotlin/Any| Static scope owner symbol: FirRegularClassSymbol public open class Base : R|kotlin/Any|
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol primaryConstructorParameter: R|test/Base.Nested| FirValueParameterSymbol primaryConstructorParameter: R|test/Base.Nested|
@@ -2,16 +2,14 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
FILE: [ResolvedTo(IMPORTS)] superTypeCallee.kt FILE: [ResolvedTo(IMPORTS)] superTypeCallee.kt
@@ -2,16 +2,14 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
FILE: [ResolvedTo(IMPORTS)] superTypeCalleeGenerics.kt FILE: [ResolvedTo(IMPORTS)] superTypeCalleeGenerics.kt
@@ -2,23 +2,21 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirNestedClassifierScopeWithSubstitution Scope: FirNestedClassifierScopeWithSubstitution
Classifiers: Classifiers:
FirRegularClassSymbol public final class Nested : R|test/MyInterface| FirRegularClassSymbol public final class Nested : R|test/MyInterface|
Static scope owner symbol: FirRegularClassSymbol public open class Base : R|kotlin/Any| Static scope owner symbol: FirRegularClassSymbol public open class Base : R|kotlin/Any|
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol constructorParam: R|test/MyInterface| FirValueParameterSymbol constructorParam: R|test/MyInterface|
@@ -2,16 +2,14 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
FILE: [ResolvedTo(IMPORTS)] superTypeDelegatedTypeRef.kt FILE: [ResolvedTo(IMPORTS)] superTypeDelegatedTypeRef.kt
@@ -2,16 +2,14 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
FILE: [ResolvedTo(IMPORTS)] superTypeRef.kt FILE: [ResolvedTo(IMPORTS)] superTypeRef.kt
@@ -2,16 +2,14 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
FILE: [ResolvedTo(IMPORTS)] superTypeRefGenerics.kt FILE: [ResolvedTo(IMPORTS)] superTypeRefGenerics.kt
@@ -2,20 +2,18 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirLocalScope Scope: FirLocalScope
Element 8 Element 7
Context receivers: Context receivers:
FirNamedFunctionSymbol context(R|Foo|, R|Bar|) FirNamedFunctionSymbol context(R|Foo|, R|Bar|)
public final fun test(): R|kotlin/Unit| public final fun test(): R|kotlin/Unit|
@@ -25,7 +23,7 @@ Tower Data Context:
public final fun test(): R|kotlin/Unit| public final fun test(): R|kotlin/Unit|
Type: Bar Type: Bar
Label: Bar Label: Bar
Element 9 Element 8
Scope: FirLocalScope Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] contextReceivers.kt FILE: [ResolvedTo(IMPORTS)] contextReceivers.kt
@@ -2,31 +2,29 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Implicit receiver: Implicit receiver:
FirRegularClassSymbol context(R|Foo|) FirRegularClassSymbol context(R|Foo|)
public final class Test : R|kotlin/Any| public final class Test : R|kotlin/Any|
Type: Test Type: Test
Element 8 Element 7
Context receivers: Context receivers:
FirRegularClassSymbol context(R|Foo|) FirRegularClassSymbol context(R|Foo|)
public final class Test : R|kotlin/Any| public final class Test : R|kotlin/Any|
Type: Foo Type: Foo
Label: Foo Label: Foo
Element 9 Element 8
Scope: FirLocalScope Scope: FirLocalScope
Element 10 Element 9
Scope: FirLocalScope Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] contextReceiversClass.kt FILE: [ResolvedTo(IMPORTS)] contextReceiversClass.kt
@@ -2,27 +2,25 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Implicit receiver: Implicit receiver:
FirRegularClassSymbol public final companion object Companion : R|kotlin/Any| FirRegularClassSymbol public final companion object Companion : R|kotlin/Any|
Type: kotlin.Enum.Companion Type: kotlin.Enum.Companion
Element 8 Element 7
Scope: FirNestedClassifierScopeWithSubstitution Scope: FirNestedClassifierScopeWithSubstitution
Classifiers: Classifiers:
FirRegularClassSymbol public final companion object Companion : R|kotlin/Any| FirRegularClassSymbol public final companion object Companion : R|kotlin/Any|
Static scope owner symbol: FirRegularClassSymbol public abstract class Enum<E : R|kotlin/Enum<E>|> : R|kotlin/Comparable<E>|, R|java/io/Serializable| Static scope owner symbol: FirRegularClassSymbol public abstract class Enum<E : R|kotlin/Enum<E>|> : R|kotlin/Comparable<E>|, R|java/io/Serializable|
Element 9 Element 8
Scope: FirNameAwareOnlyCallablesScope Scope: FirNameAwareOnlyCallablesScope
Functions Functions
FirNamedFunctionSymbol public final static fun valueOf(value: R|kotlin/String|): R|Direction| FirNamedFunctionSymbol public final static fun valueOf(value: R|kotlin/String|): R|Direction|
@@ -34,15 +32,15 @@ Tower Data Context:
FirEnumEntrySymbol public final static enum entry WEST: R|Direction| = LAZY_EXPRESSION FirEnumEntrySymbol public final static enum entry WEST: R|Direction| = LAZY_EXPRESSION
FirPropertySymbol public final static val entries: R|kotlin/enums/EnumEntries<Direction>| FirPropertySymbol public final static val entries: R|kotlin/enums/EnumEntries<Direction>|
public get(): R|kotlin/enums/EnumEntries<Direction>| public get(): R|kotlin/enums/EnumEntries<Direction>|
Element 10 Element 9
Implicit receiver: Implicit receiver:
FirAnonymousObjectSymbol object : R|Direction| FirAnonymousObjectSymbol object : R|Direction|
Type: <anonymous> Type: <anonymous>
Element 11 Element 10
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirBackingFieldSymbol private <explicit backing field>: R|kotlin/Int| FirBackingFieldSymbol private <explicit backing field>: R|kotlin/Int|
Element 12 Element 11
Scope: FirLocalScope Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] enumValue.kt FILE: [ResolvedTo(IMPORTS)] enumValue.kt
@@ -2,24 +2,22 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirLocalScope Scope: FirLocalScope
Element 8 Element 7
Implicit receiver: Implicit receiver:
FirNamedFunctionSymbol public final fun R|kotlin/String|.test(): R|kotlin/Unit| FirNamedFunctionSymbol public final fun R|kotlin/String|.test(): R|kotlin/Unit|
Type: kotlin.String Type: kotlin.String
Element 9 Element 8
Scope: FirLocalScope Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] extensionFunction.kt FILE: [ResolvedTo(IMPORTS)] extensionFunction.kt
@@ -2,36 +2,34 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 6
Scope: FirLocalScope
Element 7 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Element 8 Element 8
Scope: FirLocalScope Scope: FirLocalScope
Element 9 Element 9
Scope: FirLocalScope
Element 10
Implicit receiver: Implicit receiver:
FirAnonymousFunctionSymbol foo@fun R|kotlin/String|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> FirAnonymousFunctionSymbol foo@fun R|kotlin/String|.<anonymous>(): R|kotlin/Unit| <inline=NoInline>
Type: kotlin.String Type: kotlin.String
Element 10
Scope: FirLocalScope
Element 11 Element 11
Scope: FirLocalScope Scope: FirLocalScope
Element 12 Element 12
Scope: FirLocalScope
Element 13
Implicit receiver: Implicit receiver:
FirAnonymousFunctionSymbol num@fun R|kotlin/Int|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> FirAnonymousFunctionSymbol num@fun R|kotlin/Int|.<anonymous>(): R|kotlin/Unit| <inline=NoInline>
Type: kotlin.Int Type: kotlin.Int
Element 14 Element 13
Scope: FirLocalScope Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] extensionLambdas.kt FILE: [ResolvedTo(IMPORTS)] extensionLambdas.kt
@@ -2,16 +2,14 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Import name:List Import name:List
Qualified name: java.util.List Qualified name: java.util.List
@@ -2,28 +2,26 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol list: R|kotlin/collections/List<kotlin/Int>| FirValueParameterSymbol list: R|kotlin/collections/List<kotlin/Int>|
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Element 9 Element 8
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirPropertySymbol lval <iterator>: R|kotlin/collections/Iterator<kotlin/Int>| FirPropertySymbol lval <iterator>: R|kotlin/collections/Iterator<kotlin/Int>|
Element 10 Element 9
Scope: FirLocalScope Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] forLoopVariable.kt FILE: [ResolvedTo(IMPORTS)] forLoopVariable.kt
@@ -39,4 +37,4 @@ FILE: [ResolvedTo(IMPORTS)] forLoopVariable.kt
} }
} }
@@ -2,43 +2,41 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirMemberTypeParameterScope Scope: FirMemberTypeParameterScope
Classifiers: Classifiers:
FirTypeParameterSymbol F FirTypeParameterSymbol F
Element 8 Element 7
Scope: FirNestedClassifierScopeImpl Scope: FirNestedClassifierScopeImpl
Classifiers: Classifiers:
FirRegularClassSymbol public final inner class Bar<B, Outer(F)> : R|kotlin/Any| FirRegularClassSymbol public final inner class Bar<B, Outer(F)> : R|kotlin/Any|
Element 9 Element 8
Implicit receiver: Implicit receiver:
FirRegularClassSymbol public final class Foo<F> : R|kotlin/Any| FirRegularClassSymbol public final class Foo<F> : R|kotlin/Any|
Type: test.Foo<F> Type: test.Foo<F>
Element 10 Element 9
Scope: FirMemberTypeParameterScope Scope: FirMemberTypeParameterScope
Classifiers: Classifiers:
FirTypeParameterSymbol B FirTypeParameterSymbol B
Element 11 Element 10
Implicit receiver: Implicit receiver:
FirRegularClassSymbol public final inner class Bar<B, Outer(F)> : R|kotlin/Any| FirRegularClassSymbol public final inner class Bar<B, Outer(F)> : R|kotlin/Any|
Type: test.Foo.Bar<B, F> Type: test.Foo.Bar<B, F>
Element 12 Element 11
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol b: R|B| FirValueParameterSymbol b: R|B|
FirValueParameterSymbol f: R|F| FirValueParameterSymbol f: R|F|
Element 13 Element 12
Scope: FirLocalScope Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] innerClasses.kt FILE: [ResolvedTo(IMPORTS)] innerClasses.kt
@@ -2,32 +2,30 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 6
Scope: FirLocalScope
Element 7 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Element 8 Element 8
Scope: FirLocalScope
Element 9
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol s: R|kotlin/String| FirValueParameterSymbol s: R|kotlin/String|
Element 10 Element 9
Scope: FirLocalScope Scope: FirLocalScope
Element 11 Element 10
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol n: R|kotlin/Int| FirValueParameterSymbol n: R|kotlin/Int|
Element 12 Element 11
Scope: FirLocalScope Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] lambdaArguments.kt FILE: [ResolvedTo(IMPORTS)] lambdaArguments.kt
@@ -2,30 +2,28 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirLocalScope Scope: FirLocalScope
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Classifiers: Classifiers:
FirRegularClassSymbol local final class Local : R|kotlin/Any| FirRegularClassSymbol local final class Local : R|kotlin/Any|
Element 9 Element 8
Implicit receiver: Implicit receiver:
FirRegularClassSymbol local final class Local : R|kotlin/Any| FirRegularClassSymbol local final class Local : R|kotlin/Any|
Type: <local>.Local Type: <local>.Local
Element 10 Element 9
Scope: FirLocalScope Scope: FirLocalScope
Element 11 Element 10
Scope: FirLocalScope Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] localClass.kt FILE: [ResolvedTo(IMPORTS)] localClass.kt
@@ -2,34 +2,32 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirNestedClassifierScopeImpl Scope: FirNestedClassifierScopeImpl
Classifiers: Classifiers:
FirRegularClassSymbol public final class Bar<B> : R|kotlin/Any| FirRegularClassSymbol public final class Bar<B> : R|kotlin/Any|
Element 8 Element 7
Scope: FirMemberTypeParameterScope Scope: FirMemberTypeParameterScope
Classifiers: Classifiers:
FirTypeParameterSymbol B FirTypeParameterSymbol B
Element 9 Element 8
Implicit receiver: Implicit receiver:
FirRegularClassSymbol public final class Bar<B> : R|kotlin/Any| FirRegularClassSymbol public final class Bar<B> : R|kotlin/Any|
Type: test.Foo.Bar<B> Type: test.Foo.Bar<B>
Element 10 Element 9
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol b: R|B| FirValueParameterSymbol b: R|B|
Element 11 Element 10
Scope: FirLocalScope Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] nestedClasses.kt FILE: [ResolvedTo(IMPORTS)] nestedClasses.kt
@@ -2,18 +2,16 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Implicit receiver: Implicit receiver:
FirRegularClassSymbol public final class Foo : R|kotlin/Any| FirRegularClassSymbol public final class Foo : R|kotlin/Any|
Type: Foo Type: Foo
@@ -2,22 +2,20 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Implicit receiver: Implicit receiver:
FirRegularClassSymbol public final class Foo : R|kotlin/Any| FirRegularClassSymbol public final class Foo : R|kotlin/Any|
Type: test.Foo Type: test.Foo
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol constructorParam: R|test/MyInterface| FirValueParameterSymbol constructorParam: R|test/MyInterface|
@@ -2,18 +2,16 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirScriptDeclarationsScope Scope: FirScriptDeclarationsScope
Classifiers: Classifiers:
FirRegularClassSymbol public? final? class After_OtherClass : R|kotlin/Any| FirRegularClassSymbol public? final? class After_OtherClass : R|kotlin/Any|
@@ -27,13 +25,13 @@ Tower Data Context:
public? get(): <implicit> public? get(): <implicit>
FirPropertySymbol public? final? val before_Val: <implicit> FirPropertySymbol public? final? val before_Val: <implicit>
public? get(): <implicit> public? get(): <implicit>
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Classifiers: Classifiers:
FirRegularClassSymbol public final class MyClass : R|kotlin/Any| FirRegularClassSymbol public final class MyClass : R|kotlin/Any|
Properties: Properties:
FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>| FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>|
Element 9 Element 8
Context receivers: Context receivers:
FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|) FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: <script-insideClassMember.kts> SCRIPT: <script-insideClassMember.kts>
@@ -52,13 +50,13 @@ Tower Data Context:
public? final? class After_OtherClass : R|kotlin/Any| public? final? class After_OtherClass : R|kotlin/Any|
Type: kotlin.script.templates.standard.ScriptTemplateWithArgs Type: kotlin.script.templates.standard.ScriptTemplateWithArgs
Label: <script> Label: <script>
Element 10 Element 9
Implicit receiver: Implicit receiver:
FirRegularClassSymbol public final class MyClass : R|kotlin/Any| FirRegularClassSymbol public final class MyClass : R|kotlin/Any|
Type: MyClass Type: MyClass
Element 11 Element 10
Scope: FirLocalScope Scope: FirLocalScope
Element 12 Element 11
Scope: FirLocalScope Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] insideClassMember.kts FILE: [ResolvedTo(IMPORTS)] insideClassMember.kts
@@ -2,18 +2,16 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirScriptDeclarationsScope Scope: FirScriptDeclarationsScope
Classifiers: Classifiers:
FirRegularClassSymbol public? final? class After_OtherClass : R|kotlin/Any| FirRegularClassSymbol public? final? class After_OtherClass : R|kotlin/Any|
@@ -27,13 +25,13 @@ Tower Data Context:
public? get(): <implicit> public? get(): <implicit>
FirPropertySymbol public? final? val before_Val: <implicit> FirPropertySymbol public? final? val before_Val: <implicit>
public? get(): <implicit> public? get(): <implicit>
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Functions Functions
FirNamedFunctionSymbol public final fun usage(foo: R|kotlin/Int|): R|kotlin/Unit| FirNamedFunctionSymbol public final fun usage(foo: R|kotlin/Int|): R|kotlin/Unit|
Properties: Properties:
FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>| FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>|
Element 9 Element 8
Context receivers: Context receivers:
FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|) FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: <script-insideTopLevelFunction.kts> SCRIPT: <script-insideTopLevelFunction.kts>
@@ -52,11 +50,11 @@ Tower Data Context:
public? final? class After_OtherClass : R|kotlin/Any| public? final? class After_OtherClass : R|kotlin/Any|
Type: kotlin.script.templates.standard.ScriptTemplateWithArgs Type: kotlin.script.templates.standard.ScriptTemplateWithArgs
Label: <script> Label: <script>
Element 10 Element 9
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol foo: R|kotlin/Int| FirValueParameterSymbol foo: R|kotlin/Int|
Element 11 Element 10
Scope: FirLocalScope Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] insideTopLevelFunction.kts FILE: [ResolvedTo(IMPORTS)] insideTopLevelFunction.kts
@@ -2,18 +2,16 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirScriptDeclarationsScope Scope: FirScriptDeclarationsScope
Classifiers: Classifiers:
FirRegularClassSymbol public final class After_OtherClass : R|kotlin/Any| FirRegularClassSymbol public final class After_OtherClass : R|kotlin/Any|
@@ -26,7 +24,7 @@ Tower Data Context:
public get(): R|kotlin/Int| public get(): R|kotlin/Int|
FirPropertySymbol public final val before_Val: R|kotlin/Int| FirPropertySymbol public final val before_Val: R|kotlin/Int|
public get(): R|kotlin/Int| public get(): R|kotlin/Int|
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Classifiers: Classifiers:
FirRegularClassSymbol public final class Before_OtherClass : R|kotlin/Any| FirRegularClassSymbol public final class Before_OtherClass : R|kotlin/Any|
@@ -34,7 +32,7 @@ Tower Data Context:
FirNamedFunctionSymbol public final fun before_Fun(): R|kotlin/Unit| FirNamedFunctionSymbol public final fun before_Fun(): R|kotlin/Unit|
Properties: Properties:
FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>| FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>|
Element 9 Element 8
Context receivers: Context receivers:
FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|) FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: <script-topLevel.kts> SCRIPT: <script-topLevel.kts>
@@ -2,26 +2,24 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Implicit receiver: Implicit receiver:
FirRegularClassSymbol public final class Foo : R|kotlin/Any| FirRegularClassSymbol public final class Foo : R|kotlin/Any|
Type: foo.Foo Type: foo.Foo
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol p: R|kotlin/String| FirValueParameterSymbol p: R|kotlin/String|
Element 9 Element 8
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirPropertySymbol lval x: R|kotlin/Float| FirPropertySymbol lval x: R|kotlin/Float|
@@ -2,22 +2,20 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol obj: R|kotlin/Any| FirValueParameterSymbol obj: R|kotlin/Any|
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] afterIf.kt FILE: [ResolvedTo(IMPORTS)] afterIf.kt
@@ -33,4 +31,4 @@ FILE: [ResolvedTo(IMPORTS)] afterIf.kt
R|<local>/obj|.R|kotlin/Any.hashCode|() R|<local>/obj|.R|kotlin/Any.hashCode|()
} }
public final [ResolvedTo(CONTRACTS)] fun consume([ResolvedTo(CONTRACTS)] obj: R|Foo|): R|kotlin/Unit| { public final [ResolvedTo(CONTRACTS)] fun consume([ResolvedTo(CONTRACTS)] obj: R|Foo|): R|kotlin/Unit| {
} }
@@ -2,22 +2,20 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol initial: R|Node?| FirValueParameterSymbol initial: R|Node?|
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirPropertySymbol lvar current: R|Node?| FirPropertySymbol lvar current: R|Node?|
@@ -2,22 +2,20 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol obj: R|kotlin/Any| FirValueParameterSymbol obj: R|kotlin/Any|
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Smart Casts: Smart Casts:
FirValueParameterSymbol obj: R|kotlin/Any| FirValueParameterSymbol obj: R|kotlin/Any|
@@ -2,24 +2,22 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol obj: R|kotlin/Any| FirValueParameterSymbol obj: R|kotlin/Any|
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
Element 9 Element 8
Scope: FirLocalScope Scope: FirLocalScope
Smart Casts: Smart Casts:
FirValueParameterSymbol obj: R|kotlin/Any| FirValueParameterSymbol obj: R|kotlin/Any|
@@ -2,27 +2,25 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol obj: R|kotlin/Any| FirValueParameterSymbol obj: R|kotlin/Any|
Element 7
Scope: FirLocalScope
Element 8 Element 8
Scope: FirLocalScope Scope: FirLocalScope
Element 9 Element 9
Scope: FirLocalScope Scope: FirLocalScope
Element 10
Scope: FirLocalScope
Smart Casts: Smart Casts:
FirValueParameterSymbol obj: R|kotlin/Any| FirValueParameterSymbol obj: R|kotlin/Any|
Types: Types:
@@ -2,22 +2,20 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol obj: R|kotlin/Any| FirValueParameterSymbol obj: R|kotlin/Any|
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] beforeIf.kt FILE: [ResolvedTo(IMPORTS)] beforeIf.kt
@@ -33,4 +31,4 @@ FILE: [ResolvedTo(IMPORTS)] beforeIf.kt
} }
public final [ResolvedTo(CONTRACTS)] fun consume([ResolvedTo(CONTRACTS)] obj: R|Foo|): R|kotlin/Unit| { public final [ResolvedTo(CONTRACTS)] fun consume([ResolvedTo(CONTRACTS)] obj: R|Foo|): R|kotlin/Unit| {
} }
@@ -2,22 +2,20 @@ Tower Data Context:
Element 0 Element 0
Scope: FirDefaultStarImportingScope Scope: FirDefaultStarImportingScope
Element 1 Element 1
Scope: FirDefaultSimpleImportingScope
Element 2
Scope: FirExplicitStarImportingScope Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3 Element 3
Scope: FirDefaultSimpleImportingScope Scope: FirDefaultSimpleImportingScope
Element 4 Element 4
Scope: FirDefaultSimpleImportingScope
Element 5
Scope: FirPackageMemberScope Scope: FirPackageMemberScope
Element 6 Element 5
Scope: FirExplicitSimpleImportingScope Scope: FirExplicitSimpleImportingScope
Element 7 Element 6
Scope: FirLocalScope Scope: FirLocalScope
Properties: Properties:
FirValueParameterSymbol initial: R|Node| FirValueParameterSymbol initial: R|Node|
Element 8 Element 7
Scope: FirLocalScope Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] beforeLoop.kt FILE: [ResolvedTo(IMPORTS)] beforeLoop.kt
@@ -35,4 +33,4 @@ FILE: [ResolvedTo(IMPORTS)] beforeLoop.kt
} }
public final [ResolvedTo(CONTRACTS)] fun consume([ResolvedTo(CONTRACTS)] node: R|Node|): R|kotlin/Unit| { public final [ResolvedTo(CONTRACTS)] fun consume([ResolvedTo(CONTRACTS)] node: R|Node|): R|kotlin/Unit| {
} }

Some files were not shown because too many files have changed in this diff Show More