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
26 lines
751 B
Plaintext
Vendored
26 lines
751 B
Plaintext
Vendored
KT element: KtScriptInitializer
|
|
FIR element: FirAnonymousInitializerImpl
|
|
FIR source kind: KtRealSourceElementKind
|
|
|
|
FIR element rendered:
|
|
[ResolvedTo(BODY_RESOLVE)] init {
|
|
R|/bar|()
|
|
}
|
|
|
|
FIR FILE:
|
|
FILE: [ResolvedTo(IMPORTS)] secondStatement.kts
|
|
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
|
SCRIPT: [ResolvedTo(TYPES)] <script-secondStatement.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| {
|
|
}
|