d5cfea330b
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
225 lines
11 KiB
Plaintext
Vendored
225 lines
11 KiB
Plaintext
Vendored
RAW_FIR:
|
|
FILE: [ResolvedTo(RAW_FIR)] primaryConstructorParameterScript.kts
|
|
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
|
SCRIPT: [ResolvedTo(RAW_FIR)] <script-primaryConstructorParameterScript.kts>
|
|
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] a: Boolean, [ResolvedTo(RAW_FIR)] param: Int = LAZY_EXPRESSION, [ResolvedTo(RAW_FIR)] c: Long): R|A| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
|
|
|
}
|
|
|
|
|
|
IMPORTS:
|
|
FILE: [ResolvedTo(IMPORTS)] primaryConstructorParameterScript.kts
|
|
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
|
SCRIPT: [ResolvedTo(RAW_FIR)] <script-primaryConstructorParameterScript.kts>
|
|
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] a: Boolean, [ResolvedTo(RAW_FIR)] param: Int = LAZY_EXPRESSION, [ResolvedTo(RAW_FIR)] c: Long): R|A| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
|
|
|
}
|
|
|
|
|
|
COMPILER_REQUIRED_ANNOTATIONS:
|
|
FILE: [ResolvedTo(IMPORTS)] primaryConstructorParameterScript.kts
|
|
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
|
SCRIPT: [ResolvedTo(RAW_FIR)] <script-primaryConstructorParameterScript.kts>
|
|
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] class A : R|kotlin/Any| {
|
|
public? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [ContainingClassKey=A] constructor([ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] a: Boolean, [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] param: Int = LAZY_EXPRESSION, [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] c: Long): R|A| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
|
|
|
}
|
|
|
|
|
|
COMPANION_GENERATION:
|
|
FILE: [ResolvedTo(IMPORTS)] primaryConstructorParameterScript.kts
|
|
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
|
SCRIPT: [ResolvedTo(RAW_FIR)] <script-primaryConstructorParameterScript.kts>
|
|
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final? [ResolvedTo(COMPANION_GENERATION)] class A : R|kotlin/Any| {
|
|
public? [ResolvedTo(COMPANION_GENERATION)] [ContainingClassKey=A] constructor([ResolvedTo(COMPANION_GENERATION)] a: Boolean, [ResolvedTo(COMPANION_GENERATION)] param: Int = LAZY_EXPRESSION, [ResolvedTo(COMPANION_GENERATION)] c: Long): R|A| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
|
|
|
}
|
|
|
|
|
|
SUPER_TYPES:
|
|
FILE: [ResolvedTo(IMPORTS)] primaryConstructorParameterScript.kts
|
|
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
|
SCRIPT: [ResolvedTo(RAW_FIR)] <script-primaryConstructorParameterScript.kts>
|
|
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final? [ResolvedTo(SUPER_TYPES)] class A : R|kotlin/Any| {
|
|
public? [ResolvedTo(SUPER_TYPES)] [ContainingClassKey=A] constructor([ResolvedTo(SUPER_TYPES)] a: Boolean, [ResolvedTo(SUPER_TYPES)] param: Int = LAZY_EXPRESSION, [ResolvedTo(SUPER_TYPES)] c: Long): R|A| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
|
|
|
}
|
|
|
|
|
|
TYPES:
|
|
FILE: [ResolvedTo(IMPORTS)] primaryConstructorParameterScript.kts
|
|
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
|
SCRIPT: [ResolvedTo(RAW_FIR)] <script-primaryConstructorParameterScript.kts>
|
|
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final? [ResolvedTo(TYPES)] class A : R|kotlin/Any| {
|
|
public? [ResolvedTo(TYPES)] [ContainingClassKey=A] constructor([ResolvedTo(TYPES)] a: R|kotlin/Boolean|, [ResolvedTo(TYPES)] param: R|kotlin/Int| = LAZY_EXPRESSION, [ResolvedTo(TYPES)] c: R|kotlin/Long|): R|A| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
|
|
|
}
|
|
|
|
|
|
STATUS:
|
|
FILE: [ResolvedTo(IMPORTS)] primaryConstructorParameterScript.kts
|
|
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
|
SCRIPT: [ResolvedTo(RAW_FIR)] <script-primaryConstructorParameterScript.kts>
|
|
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
|
|
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor([ResolvedTo(STATUS)] a: R|kotlin/Boolean|, [ResolvedTo(STATUS)] param: R|kotlin/Int| = LAZY_EXPRESSION, [ResolvedTo(STATUS)] c: R|kotlin/Long|): R|A| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
public final [ResolvedTo(STATUS)] fun foo(): <implicit> { LAZY_BLOCK }
|
|
|
|
}
|
|
|
|
|
|
EXPECT_ACTUAL_MATCHING:
|
|
FILE: [ResolvedTo(IMPORTS)] primaryConstructorParameterScript.kts
|
|
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
|
SCRIPT: [ResolvedTo(RAW_FIR)] <script-primaryConstructorParameterScript.kts>
|
|
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final [ResolvedTo(EXPECT_ACTUAL_MATCHING)] class A : R|kotlin/Any| {
|
|
public [ResolvedTo(EXPECT_ACTUAL_MATCHING)] [ContainingClassKey=A] constructor([ResolvedTo(EXPECT_ACTUAL_MATCHING)] a: R|kotlin/Boolean|, [ResolvedTo(EXPECT_ACTUAL_MATCHING)] param: R|kotlin/Int| = LAZY_EXPRESSION, [ResolvedTo(EXPECT_ACTUAL_MATCHING)] c: R|kotlin/Long|): R|A| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
public final [ResolvedTo(STATUS)] fun foo(): <implicit> { LAZY_BLOCK }
|
|
|
|
}
|
|
|
|
|
|
CONTRACTS:
|
|
FILE: [ResolvedTo(IMPORTS)] primaryConstructorParameterScript.kts
|
|
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
|
SCRIPT: [ResolvedTo(TYPES)] <script-primaryConstructorParameterScript.kts>
|
|
[ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final [ResolvedTo(CONTRACTS)] class A : R|kotlin/Any| {
|
|
public [ResolvedTo(CONTRACTS)] [ContainingClassKey=A] constructor([ResolvedTo(CONTRACTS)] a: R|kotlin/Boolean|, [ResolvedTo(CONTRACTS)] param: R|kotlin/Int| = LAZY_EXPRESSION, [ResolvedTo(CONTRACTS)] c: R|kotlin/Long|): R|A| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
public final [ResolvedTo(STATUS)] fun foo(): <implicit> { LAZY_BLOCK }
|
|
|
|
}
|
|
|
|
|
|
IMPLICIT_TYPES_BODY_RESOLVE:
|
|
FILE: [ResolvedTo(IMPORTS)] primaryConstructorParameterScript.kts
|
|
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
|
SCRIPT: [ResolvedTo(TYPES)] <script-primaryConstructorParameterScript.kts>
|
|
[ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] class A : R|kotlin/Any| {
|
|
public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [ContainingClassKey=A] constructor([ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] a: R|kotlin/Boolean|, [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] param: R|kotlin/Int| = LAZY_EXPRESSION, [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] c: R|kotlin/Long|): R|A| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
public final [ResolvedTo(STATUS)] fun foo(): <implicit> { LAZY_BLOCK }
|
|
|
|
}
|
|
|
|
|
|
CONSTANT_EVALUATION:
|
|
FILE: [ResolvedTo(IMPORTS)] primaryConstructorParameterScript.kts
|
|
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
|
SCRIPT: [ResolvedTo(TYPES)] <script-primaryConstructorParameterScript.kts>
|
|
[ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final [ResolvedTo(CONSTANT_EVALUATION)] class A : R|kotlin/Any| {
|
|
public [ResolvedTo(CONSTANT_EVALUATION)] [ContainingClassKey=A] constructor([ResolvedTo(CONSTANT_EVALUATION)] a: R|kotlin/Boolean|, [ResolvedTo(CONSTANT_EVALUATION)] param: R|kotlin/Int| = LAZY_EXPRESSION, [ResolvedTo(CONSTANT_EVALUATION)] c: R|kotlin/Long|): R|A| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
public final [ResolvedTo(STATUS)] fun foo(): <implicit> { LAZY_BLOCK }
|
|
|
|
}
|
|
|
|
|
|
ANNOTATION_ARGUMENTS:
|
|
FILE: [ResolvedTo(IMPORTS)] primaryConstructorParameterScript.kts
|
|
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
|
SCRIPT: [ResolvedTo(TYPES)] <script-primaryConstructorParameterScript.kts>
|
|
[ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final [ResolvedTo(ANNOTATION_ARGUMENTS)] class A : R|kotlin/Any| {
|
|
public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=A] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] a: R|kotlin/Boolean|, [ResolvedTo(ANNOTATION_ARGUMENTS)] param: R|kotlin/Int| = LAZY_EXPRESSION, [ResolvedTo(ANNOTATION_ARGUMENTS)] c: R|kotlin/Long|): R|A| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
public final [ResolvedTo(STATUS)] fun foo(): <implicit> { LAZY_BLOCK }
|
|
|
|
}
|
|
|
|
|
|
BODY_RESOLVE:
|
|
FILE: [ResolvedTo(IMPORTS)] primaryConstructorParameterScript.kts
|
|
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
|
SCRIPT: [ResolvedTo(TYPES)] <script-primaryConstructorParameterScript.kts>
|
|
[ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final [ResolvedTo(ANNOTATION_ARGUMENTS)] class A : R|kotlin/Any| {
|
|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=A] constructor([ResolvedTo(BODY_RESOLVE)] a: R|kotlin/Boolean|, [ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int| = Int(1), [ResolvedTo(BODY_RESOLVE)] c: R|kotlin/Long|): R|A| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final [ResolvedTo(STATUS)] fun foo(): <implicit> { LAZY_BLOCK }
|
|
|
|
}
|
|
|
|
|
|
FILE RAW TO BODY:
|
|
FILE: [ResolvedTo(BODY_RESOLVE)] primaryConstructorParameterScript.kts
|
|
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
|
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-primaryConstructorParameterScript.kts>
|
|
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=A] constructor([ResolvedTo(BODY_RESOLVE)] a: R|kotlin/Boolean|, [ResolvedTo(BODY_RESOLVE)] param: R|kotlin/Int| = Int(1), [ResolvedTo(BODY_RESOLVE)] c: R|kotlin/Long|): R|A| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/String| {
|
|
^foo String(str)
|
|
}
|
|
|
|
}
|