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
24 lines
708 B
Plaintext
Vendored
24 lines
708 B
Plaintext
Vendored
KT element: KtCallExpression
|
|
FIR element: FirFunctionCallImpl
|
|
FIR source kind: KtRealSourceElementKind
|
|
|
|
FIR element rendered:
|
|
R|/bar|()
|
|
|
|
FIR FILE:
|
|
FILE: [ResolvedTo(IMPORTS)] secondStatementCall.kts
|
|
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
|
SCRIPT: [ResolvedTo(TYPES)] <script-secondStatementCall.kts>
|
|
[ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> { LAZY_BLOCK }
|
|
|
|
[ResolvedTo(RAW_FIR)] init { LAZY_BLOCK }
|
|
|
|
[ResolvedTo(BODY_RESOLVE)] init {
|
|
R|/bar|()
|
|
}
|
|
|
|
public final [ResolvedTo(CONTRACTS)] fun bar(): R|kotlin/Unit| {
|
|
}
|