Files
Ivan Kochurkin 115d685d91 [FIR] Fix ambiguity of Throws and other std annotations importing
Including `SharedImmutable` and `ThreadLocal`

Simplify code, remove `DefaultImportPriority.KOTLIN_THROWS`

Introduce `FirNativeClassMapper`
2023-11-23 23:51:23 +00:00

41 lines
1.3 KiB
Plaintext
Vendored

Tower Data Context:
Element 0
Scope: FirDefaultStarImportingScope
Element 1
Scope: FirExplicitStarImportingScope
Element 2
Scope: FirDefaultSimpleImportingScope
Element 3
Scope: FirDefaultSimpleImportingScope
Element 4
Scope: FirPackageMemberScope
Element 5
Scope: FirExplicitSimpleImportingScope
Element 6
Scope: FirLocalScope
Element 7
Context receivers:
FirNamedFunctionSymbol context(R|Foo|, R|Bar|)
public final fun test(): R|kotlin/Unit|
Type: Foo
Label: Foo
FirNamedFunctionSymbol context(R|Foo|, R|Bar|)
public final fun test(): R|kotlin/Unit|
Type: Bar
Label: Bar
Element 8
Scope: FirLocalScope
FILE: [ResolvedTo(IMPORTS)] contextReceivers.kt
public abstract [ResolvedTo(STATUS)] interface Foo : R|kotlin/Any| {
public abstract [ResolvedTo(CONTRACTS)] fun foo(): R|kotlin/Int|
}
public abstract [ResolvedTo(STATUS)] interface Bar : R|kotlin/Any| {
public abstract [ResolvedTo(CONTRACTS)] fun bar(): R|kotlin/Int|
}
context(R|Foo|, R|Bar|)
public final [ResolvedTo(BODY_RESOLVE)] fun test(): R|kotlin/Unit| {
this@R|/test|.R|/Foo.foo|().R|kotlin/Int.plus|(this@R|/test|.R|/Bar.bar|())
}