We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if (mystruct) { mystruct.onAction = function() {}; }
generates
mystruct.onAction = -> if mystruct
which generate a coffescript parse error. It should generates :
if mystruct mystruct.onAction = ->
The text was updated successfully, but these errors were encountered:
since implicit returns are merged, it should be read as
if (mystruct) { mystruct.onAction = function() {return}; }
which would produce a correct translation:
if mystruct mystruct.onAction = -> return
TODO: check #168
Sorry, something went wrong.
need to extend #168 add return also for empty functions
No branches or pull requests
generates
which generate a coffescript parse error. It should generates :
The text was updated successfully, but these errors were encountered: