Fixesdecaffeinate#867
Unlike in JavaScript, CoffeeScript named classes assign to their outer scope, so
we need an explicit assignment unless we know the class will be a JS class
declaration statement.
Fixes#867
Unlike in JavaScript, CoffeeScript named classes assign to their outer scope, so
we need an explicit assignment unless we know the class will be a JS class
declaration statement.
decaffeinate is producing the wrong JavaScript based on my CoffeeScript input:
(repl)
I get this output:
Here's what I expect it to be instead:
This is causing the atom tests to fail after decaffeinate.
The text was updated successfully, but these errors were encountered: