–– Pkl Error ––
Expected `Foo2` to be a type, but it is not.

x | foo2 = new Foo2 {}
               ^^^^
at invalidTypeName4#foo2 (file:///$snippetsDir/input/errors/invalidTypeName4.pkl)

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