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 think this could/should work but gives an error currently.
/home/not_synced/fuzion (2024-07-02T11-18-09+02-00)1$ cat ~/playground/test.fz
ex =>
public either(public LEFT type, public RIGHT type...) : choice LEFT RIGHT is
/home/not_synced/fuzion (2024-07-02T11-18-09+02-00)$ make no-java && fz ~/playground/test.fz
/home/sam/playground/test.fz:2:71: error 1: Illegal use of open formal type parameter type
public either(public LEFT type, public RIGHT type...) : choice LEFT RIGHT is
----------------------------------------------------------------------^^^^^
Open formal type parameter type is permitted only as the type of the last argument in a formal arguments list of an abstract feature.
Open formal argument: 'RIGHT'
one error.
The text was updated successfully, but these errors were encountered:
I think this could/should work but gives an error currently.
The text was updated successfully, but these errors were encountered: