9aa8fb80e7
NB: in order to produce correct IR origins, the source element kinds for some FIR elements has been changed. As a side effect, mapping PSI to FIR slightly changed: namely, for `a[b]++`, `a[b]` used to be mapped on `set` call or callable reference, but now it is mapped on `get` call. ^KT-61891: Fixed ^KT-64387: Fixed
19 lines
821 B
Plaintext
Vendored
19 lines
821 B
Plaintext
Vendored
KT element: KtPostfixExpression
|
|
FIR element: FirVariableAssignmentImpl
|
|
FIR source kind: DesugaredPostfixInc
|
|
|
|
FIR element rendered:
|
|
R|<local>/nextUnnamedLibraryIndex| = R|<local>/<unary>|.R|kotlin/Int.inc|()
|
|
|
|
FIR FILE:
|
|
FILE: [ResolvedTo(IMPORTS)] incExpression.kt
|
|
public final [ResolvedTo(BODY_RESOLVE)] fun main([ResolvedTo(BODY_RESOLVE)] args: R|kotlin/Array<kotlin/String>|): R|kotlin/Unit| {
|
|
[ResolvedTo(BODY_RESOLVE)] lvar nextUnnamedLibraryIndex: R|kotlin/Int| = Int(1)
|
|
[ResolvedTo(BODY_RESOLVE)] lval originalName: R|kotlin/String| = <strcat>( {
|
|
[ResolvedTo(BODY_RESOLVE)] lval <unary>: R|kotlin/Int| = R|<local>/nextUnnamedLibraryIndex|
|
|
R|<local>/nextUnnamedLibraryIndex| = R|<local>/<unary>|.R|kotlin/Int.inc|()
|
|
R|<local>/<unary>|
|
|
}
|
|
)
|
|
}
|