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

179 lines
7.7 KiB
Plaintext
Vendored

RAW_FIR:
FILE: [ResolvedTo(RAW_FIR)] propertyWithInitializerScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-propertyWithInitializerScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
public? final? [ResolvedTo(RAW_FIR)] val property: Int = LAZY_EXPRESSION
public? [ResolvedTo(RAW_FIR)] get(): Int
IMPORTS:
FILE: [ResolvedTo(IMPORTS)] propertyWithInitializerScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-propertyWithInitializerScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
public? final? [ResolvedTo(RAW_FIR)] val property: Int = LAZY_EXPRESSION
public? [ResolvedTo(RAW_FIR)] get(): Int
COMPILER_REQUIRED_ANNOTATIONS:
FILE: [ResolvedTo(IMPORTS)] propertyWithInitializerScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-propertyWithInitializerScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
public? final? [ResolvedTo(RAW_FIR)] val property: Int = LAZY_EXPRESSION
public? [ResolvedTo(RAW_FIR)] get(): Int
COMPANION_GENERATION:
FILE: [ResolvedTo(IMPORTS)] propertyWithInitializerScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-propertyWithInitializerScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(COMPANION_GENERATION)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
public? final? [ResolvedTo(RAW_FIR)] val property: Int = LAZY_EXPRESSION
public? [ResolvedTo(RAW_FIR)] get(): Int
SUPER_TYPES:
FILE: [ResolvedTo(IMPORTS)] propertyWithInitializerScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-propertyWithInitializerScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(SUPER_TYPES)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
public? final? [ResolvedTo(RAW_FIR)] val property: Int = LAZY_EXPRESSION
public? [ResolvedTo(RAW_FIR)] get(): Int
TYPES:
FILE: [ResolvedTo(IMPORTS)] propertyWithInitializerScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-propertyWithInitializerScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(TYPES)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
public? final? [ResolvedTo(RAW_FIR)] val property: Int = LAZY_EXPRESSION
public? [ResolvedTo(RAW_FIR)] get(): Int
STATUS:
FILE: [ResolvedTo(IMPORTS)] propertyWithInitializerScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-propertyWithInitializerScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
public? final? [ResolvedTo(RAW_FIR)] val property: Int = LAZY_EXPRESSION
public? [ResolvedTo(RAW_FIR)] get(): Int
EXPECT_ACTUAL_MATCHING:
FILE: [ResolvedTo(IMPORTS)] propertyWithInitializerScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-propertyWithInitializerScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(EXPECT_ACTUAL_MATCHING)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
public? final? [ResolvedTo(RAW_FIR)] val property: Int = LAZY_EXPRESSION
public? [ResolvedTo(RAW_FIR)] get(): Int
CONTRACTS:
FILE: [ResolvedTo(IMPORTS)] propertyWithInitializerScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-propertyWithInitializerScript.kts>
[ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(CONTRACTS)] fun resolveMe(): R|kotlin/Unit| {
receive#(property#)
}
public? final? [ResolvedTo(RAW_FIR)] val property: Int = LAZY_EXPRESSION
public? [ResolvedTo(RAW_FIR)] get(): Int
IMPLICIT_TYPES_BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] propertyWithInitializerScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-propertyWithInitializerScript.kts>
[ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun resolveMe(): R|kotlin/Unit| {
receive#(property#)
}
public? final? [ResolvedTo(RAW_FIR)] val property: Int = LAZY_EXPRESSION
public? [ResolvedTo(RAW_FIR)] get(): Int
CONSTANT_EVALUATION:
FILE: [ResolvedTo(IMPORTS)] propertyWithInitializerScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-propertyWithInitializerScript.kts>
[ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(CONSTANT_EVALUATION)] fun resolveMe(): R|kotlin/Unit| {
receive#(property#)
}
public? final? [ResolvedTo(RAW_FIR)] val property: Int = LAZY_EXPRESSION
public? [ResolvedTo(RAW_FIR)] get(): Int
ANNOTATION_ARGUMENTS:
FILE: [ResolvedTo(IMPORTS)] propertyWithInitializerScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-propertyWithInitializerScript.kts>
[ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(ANNOTATION_ARGUMENTS)] fun resolveMe(): R|kotlin/Unit| {
receive#(property#)
}
public? final? [ResolvedTo(RAW_FIR)] val property: Int = LAZY_EXPRESSION
public? [ResolvedTo(RAW_FIR)] get(): Int
BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] propertyWithInitializerScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-propertyWithInitializerScript.kts>
[ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(BODY_RESOLVE)] fun resolveMe(): R|kotlin/Unit| {
<Unresolved name: receive>#(R|/property|)
}
public final [ResolvedTo(CONTRACTS)] val property: R|kotlin/Int| = IntegerLiteral(10)
public [ResolvedTo(CONTRACTS)] get(): R|kotlin/Int|
FILE RAW TO BODY:
FILE: [ResolvedTo(BODY_RESOLVE)] propertyWithInitializerScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-propertyWithInitializerScript.kts>
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(BODY_RESOLVE)] fun resolveMe(): R|kotlin/Unit| {
<Unresolved name: receive>#(R|/property|)
}
public final [ResolvedTo(BODY_RESOLVE)] val property: R|kotlin/Int| = Int(10)
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|