You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could go either way on allowing/disallowing this behavior. Allowing it, in general, would require a dynamic check of the non-existent runtime type information. Which means we would have to associate the static type of each tuple with it's tuple. It might also mean that we have to adjust how unit values are implemented, which are conceptually just the empty tuple, but in practice a completely different value.
akuhlens
changed the title
Should casting to subtype be allowed?
Should casting to a supertype be allowed?
Feb 2, 2019
akuhlens
changed the title
Should casting to a supertype be allowed?
Should casting to a subtype be allowed?
Feb 2, 2019
This program cannot be compiled with the latest Grift in the master branch.
The text was updated successfully, but these errors were encountered: