–– Pkl Error ––
Tried to read property `foo` but its value is undefined.

x | foo: "foo"|"bar"|"baz"
    ^^^
at noDefault#foo (file:///$snippetsDir/input/errors/noDefault.pkl)

The above error occurred when rendering path `foo` of module `file:///$snippetsDir/input/errors/noDefault.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)
