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
22 lines
698 B
Plaintext
Vendored
22 lines
698 B
Plaintext
Vendored
KT element: KtNamedFunction
|
|
FIR element: FirSimpleFunctionImpl
|
|
FIR source kind: KtRealSourceElementKind
|
|
|
|
FIR element rendered:
|
|
local final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/String| {
|
|
^x String()
|
|
}
|
|
|
|
FIR FILE:
|
|
FILE: [ResolvedTo(IMPORTS)] localFunctionScript.kts
|
|
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
|
SCRIPT: [ResolvedTo(TYPES)] <script-localFunctionScript.kts>
|
|
[ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/Unit| {
|
|
local final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/String| {
|
|
^x String()
|
|
}
|
|
|
|
}
|