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
def example(): Unit \ SomeEffect = checked_ecast(())
This program has the errors
-- Resolution Error -------------------------------------------------- [...]\test.flix
>> Undefined type 'SomeEffect'.
8 | def example(): Unit \ SomeEffect = checked_ecast(())
^^^^^^^^^^
type not found.
-- Redundancy Error -------------------------------------------------- [...]\test.flix
>> Redundant effect cast. The expression already has the required effect.
8 | def example(): Unit \ SomeEffect = checked_ecast(())
^^^^^^^^^^^^^^^^^
redundant cast.
So it seems that it continues typing with the pure effect, but instead it would perhaps be better to continue with the non-existing effect SomeEffect or in some other way remember that there is a constant effect
The text was updated successfully, but these errors were encountered:
This program has the errors
So it seems that it continues typing with the pure effect, but instead it would perhaps be better to continue with the non-existing effect
SomeEffect
or in some other way remember that there is a constant effectThe text was updated successfully, but these errors were encountered: