NFun icon indicating copy to clipboard operation
NFun copied to clipboard

Use '->' syntax instead of ':' when specify return type of function

Open tmteam opened this issue 3 years ago • 0 comments

# old syntax
myFun(a:int, b:int):real = ...
# new syntax:
myFun(a:int, b:int)->real = ...

Old syntax still has to be valid.

tmteam avatar Jan 18 '22 16:01 tmteam