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

x | bar: Mapping<String, String> = (foo) { ["baz"] = "three" }
                         ^^^^^^
at mappingTypeCheckError10#bar (file:///$snippetsDir/input/errors/mappingTypeCheckError10.pkl)

x | foo: Mapping = new { ["foo"] = 1; ["bar"] = 2 }
                                   ^
at mappingTypeCheckError10#foo["foo"] (file:///$snippetsDir/input/errors/mappingTypeCheckError10.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)
