Yuescript
Yuescript copied to clipboard
Multiple line return statements
Currently all values that you're returning have to be on a single line, and don't support splitting them across lines like you can do with parameters in functions and function calls. I propose enabling this feature for return statements.
You can use backslash to prevent breaking a line for the moment. A syntax for expression list in multiline would currently cause conflict with function arguments in multiline.
-- currently supported syntax
f = ->
a, b, \
c, d, \
e, f