Currently, the assignability semantics completely follow the Java semantics.
These are sometimes not completely in line with the way one would expect PIE semantics to work, for example in the case of nullability.
It would make sense that NullableType(T) is not InvariantKind assignable to T.
Todo: figure out if there are more cases where the Java semantics do not make sense.
Currently, the assignability semantics completely follow the Java semantics. These are sometimes not completely in line with the way one would expect PIE semantics to work, for example in the case of nullability. It would make sense that
NullableType(T)
is notInvariantKind
assignable toT
. Todo: figure out if there are more cases where the Java semantics do not make sense.