–– Pkl Error ––
Expected value of type `Boolean|List<Int>`, but got a different `List`.
Value: List(1, 3.14, 2)

x | a: Boolean|List<Int>
       ^^^^^^^^^^^^^^^^^
at unionTypesErrorDifferent1#X.a (file:///$snippetsDir/input/classes/unionTypesErrorDifferent1.pkl)

* Value is not of type `List<Int>` because:
  Expected value of type `Int`, but got type `Float`.
  Value: 3.14

x | a = List(1, 3.14, 2)
        ^^^^^^^^^^^^^^^^
at unionTypesErrorDifferent1#res1.a (file:///$snippetsDir/input/classes/unionTypesErrorDifferent1.pkl)

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