–– Pkl Error ––
Character index `1` is out of range `2`..`3`.
String: "abc"

x | res1 = "abc".substring(2, 1)
           ^^^^^^^^^^^^^^^^^^^^^
at outOfRange2#res1 (file:///$snippetsDir/input/errors/outOfRange2.pkl)

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