Conversation
|
If we want |
Return let can be fixed, but it would be only the start as I’m checking the PR similar to that for coffeescript: jashkenas/coffeescript#5395 |
|
Here's an idea: When a declaration is in return position prepend it with a simple This may be useful for Civet in general to have declarations behave more like expressions. |
|
Nice, yes, maybe we can use this to allow |
|
I think it would be quite normal for following code before how it interact with implicit return |
|
Anyway, this PR is probably worth merging already, as it fixes some bugs in |
|
Comment added. |
Right, this currently compiles to |
|
|
Fix missing let decs inner declaration.
I'm not sure if it's needed to fix that breaking
return letwhich won't happen onauto Varas autovar move all variables to top.