–– Pkl Error ––
Expected value of type `Int`, but got type `String`.
Value: "other"

x | for (n: Int in List(1, "other", 2)) { n }
            ^^^
at wrongForGeneratorType1#res1 (file:///$snippetsDir/input/errors/wrongForGeneratorType1.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)
