KT element: KtConstantExpression
FIR element: FirConstExpressionImpl
FIR source kind: KtRealSourceElementKind

FIR element rendered:
IntegerLiteral(0)

FIR FILE:
FILE: [ResolvedTo(IMPORTS)] arrayIndexExpressionWithIncScript.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 main([ResolvedTo(RAW_FIR)] args: Array<String>): R|kotlin/Unit| {
            [ResolvedTo(RAW_FIR)] lval a: <implicit> = ArrayList#<String>()
            a#.add#(String())
            [ResolvedTo(RAW_FIR)] lval <array>: <implicit> = a#
            [ResolvedTo(RAW_FIR)] lval <index_0>: <implicit> = IntegerLiteral(0)
            [ResolvedTo(RAW_FIR)] lval <unary>: <implicit> = R|<local>/<array>|.get#(R|<local>/<index_0>|)
            R|<local>/<array>|.set#(R|<local>/<index_0>|, R|<local>/<unary>|.inc#())
            R|<local>/<unary>|
        }