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
A pure expression does nothing in statement position; you may be omitting necessary parentheses [194:13]
Found:UnitRequired:PolyFunction{apply: [A]():Unit} [196:12]
Expectation
Same lightweight syntax for polymorphic functions as for "standard" functions
Also by-name parameter support for polymorphic functions could be useful for even clearer syntax.
The text was updated successfully, but these errors were encountered:
Compiler version
3.0.0-RC3
Minimized code
Output
Expectation
Same lightweight syntax for polymorphic functions as for "standard" functions
Also by-name parameter support for polymorphic functions could be useful for even clearer syntax.
The text was updated successfully, but these errors were encountered: