Make = and => optional in function declarations (#4577)

* Make `=` and `=>` optional in function declarations

And requires `:` for return types

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Tests

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Format types in function decls

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Require  in anon function decls

Signed-off-by: Nick Cameron <nrc@ncameron.org>

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2024-11-27 15:46:58 +13:00
committed by GitHub
parent d461b09a4d
commit 3139e18dc7
70 changed files with 6696 additions and 6600 deletions

File diff suppressed because one or more lines are too long