–– Pkl Error ––
Operator `[]` is not defined for operand types `List` and `String`.
Left operand : List(1, 2, 3)
Right operand: "idx"

x | res1 = l["idx"]
           ^^^^^^^^
at undefinedOp3#res1 (file:///$snippetsDir/input/errors/undefinedOp3.pkl)

xxx | renderer.renderDocument(value)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
at pkl.base#Module.output.text (pkl:base)

xxx | if (renderer is BytesRenderer) renderer.renderDocument(value) else text.encodeToBytes("UTF-8")
                                                                         ^^^^
at pkl.base#Module.output.bytes (pkl:base)
