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 was experimenting with some code and got the following type error.
I think I am on the head of 'development'. I assume it's an easy fix.
This class compiles and runes fine: class Main def main() : Maybe[int] if true then Just(5) else Nothing end end end
However, this class produces a type error: class Main def main() : Maybe[int] if true then Nothing else Nothing end end end
The text was updated successfully, but these errors were encountered:
I was experimenting with some code and got the following type error.
I think I am on the head of 'development'. I assume it's an easy fix.
This class compiles and runes fine:
class Main def main() : Maybe[int] if true then Just(5) else Nothing end end end
However, this class produces a type error:
class Main def main() : Maybe[int] if true then Nothing else Nothing end end end
The text was updated successfully, but these errors were encountered: