266447120d
namely, add them to importing scopes directly and according to the schema used for other implicit imports, rather than adding them to the regular script file imports. See KT-65982 for explanation. #KT-65982 fixed
58 lines
2.1 KiB
Plaintext
Vendored
58 lines
2.1 KiB
Plaintext
Vendored
Tower Data Context:
|
|
Element 0
|
|
Scope: FirDefaultStarImportingScope
|
|
Element 1
|
|
Scope: FirExplicitStarImportingScope
|
|
Element 2
|
|
Scope: FirExplicitStarImportingScope
|
|
Element 3
|
|
Scope: FirDefaultSimpleImportingScope
|
|
Element 4
|
|
Scope: FirDefaultSimpleImportingScope
|
|
Element 5
|
|
Scope: FirExplicitSimpleImportingScope
|
|
Element 6
|
|
Scope: FirPackageMemberScope
|
|
Element 7
|
|
Scope: FirExplicitSimpleImportingScope
|
|
Element 8
|
|
Scope: FirScriptDeclarationsScope
|
|
Classifiers:
|
|
FirRegularClassSymbol public final class Foo : R|kotlin/Any|
|
|
Element 9
|
|
Scope: FirLocalScope
|
|
Classifiers:
|
|
FirRegularClassSymbol public final class Foo : R|kotlin/Any|
|
|
Element 10
|
|
Context receivers:
|
|
FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
|
SCRIPT: <script-insideClassBody.kts>
|
|
lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final class Foo : R|kotlin/Any|
|
|
Type: kotlin.script.templates.standard.ScriptTemplateWithArgs
|
|
Label: <script>
|
|
Element 11
|
|
Implicit receiver:
|
|
FirRegularClassSymbol public final class Foo : R|kotlin/Any|
|
|
Type: Foo
|
|
Element 12
|
|
Scope: FirLocalScope
|
|
|
|
FILE: [ResolvedTo(IMPORTS)] insideClassBody.kts
|
|
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
|
SCRIPT: [ResolvedTo(TYPES)] <script-insideClassBody.kts>
|
|
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final [ResolvedTo(STATUS)] class Foo : R|kotlin/Any| {
|
|
public [ResolvedTo(STATUS)] constructor(): R|Foo| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
public final [ResolvedTo(STATUS)] val x: <implicit> = LAZY_EXPRESSION
|
|
public [ResolvedTo(STATUS)] get(): <implicit>
|
|
|
|
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
|
|
}
|
|
|
|
} |