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