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
Whenever an intersection type A & B is cast to A (hiding the B part), the B part should still be possible to be uncovered by a cast. However attaching a warning to a value makes it impossible to do so.
We already have pending tests demonstrating the issue:
As requested by @JaroslavTulach, reporting this as a separate issue.
Whenever an intersection type
A & B
is cast toA
(hiding theB
part), theB
part should still be possible to be uncovered by a cast. However attaching a warning to a value makes it impossible to do so.We already have pending tests demonstrating the issue:
enso/test/Base_Tests/src/Semantic/Multi_Value_As_Type_Refinement_Spec.enso
Lines 297 to 334 in 54ccd1a
The text was updated successfully, but these errors were encountered: