Files
kotlin-fork/analysis/low-level-api-fir/testdata/getOrBuildFir/expressions/forExpressionVariableScript.txt
T
Dmitrii Gridin 61981f6026 [LL FIR] skip FirScript resolve in transformers
It is a temporary step to be able to implement
granular scripts support

^KT-60728
2023-08-02 16:50:44 +00:00

26 lines
906 B
Plaintext

KT element: KtParameter
FIR element: FirPropertyImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
[ResolvedTo(RAW_FIR)] lval x: <implicit> = R|<local>/<iterator>|.next#()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] forExpressionVariableScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
{
[ResolvedTo(RAW_FIR)] lval <iterator>: <implicit> = IntegerLiteral(0).rangeTo#(IntegerLiteral(1)).iterator#()
while(R|<local>/<iterator>|.hasNext#()) {
[ResolvedTo(RAW_FIR)] lval x: <implicit> = R|<local>/<iterator>|.next#()
{
}
}
}
}