–– Pkl Error ––
Cannot find property `foo` in object of type `Resource`.

x | foo = "bar"
    ^^^
at invalidAmend6#resource (file:///$snippetsDir/input/modules/invalidAmend6.pkl)

Available properties:
base64
bytes
md5
sha1
sha256
sha256Int
text
uri

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)
