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

x | local const invalid: String = 1
                         ^^^^^^
at fullStackTraces2#invalid (file:///$snippetsDir/input/errors/fullStackTraces2.pkl)

x | local const invalid: String = 1
                                  ^
at fullStackTraces2#invalid (file:///$snippetsDir/input/errors/fullStackTraces2.pkl)

x | const function f1() = invalid
                          ^^^^^^^
at fullStackTraces2#f1 (file:///$snippetsDir/input/errors/fullStackTraces2.pkl)

x | local const top = f1()
                      ^^^^
at fullStackTraces2#top (file:///$snippetsDir/input/errors/fullStackTraces2.pkl)

x | foo = top
          ^^^
at fullStackTraces2#Foo.foo (file:///$snippetsDir/input/errors/fullStackTraces2.pkl)

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