Files
Dmitrii Gridin d5cfea330b [LL FIR] support parameters resolution
Script parameters now can be resolved independently of the script.
But, as parameters are part of the script, their resolve will be called
before the script.

^KT-66276 Fixed
2024-03-07 12:50:59 +00:00

41 lines
1.5 KiB
Plaintext
Vendored

KT element: KtNameReferenceExpression
FIR element: FirResolvedQualifierImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
Q|A.B|
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] firstPartOfQualifiedCallWithNestedClassesScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-firstPartOfQualifiedCallWithNestedClassesScript.kts>
[ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor(): R|A| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] class B : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=B] constructor(): R|A.B| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] class C : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=C] constructor(): R|A.B.C| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] val x: R|kotlin/Int| = Int(10)
public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [ContainingClassKey=C] get(): R|kotlin/Int|
}
}
}
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/Unit| {
Q|A.B|.R|/A.B.C.C|().R|/A.B.C.x|
}