–– Pkl Error ––
Cannot instantiate abstract class `invalidInstantiation2#Base`.

x | res1 = new Base {}
               ^^^^
at invalidInstantiation2#res1 (file:///$snippetsDir/input/classes/invalidInstantiation2.pkl)

Abstract classes cannot be instantiated.
Instead, instantiate a concrete subclass.

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)
