coffy-script
coffy-script copied to clipboard
yielding into a single-element list doesn't work
this coffyscript code
[ text ] = yield read_text_file route, resume
will be translated into
text = yield(read_text_file(route, resume))[0];
which is wrong and won't work. instead, something like
_ref = yield(read_text_file(route, resume))
text = _ref[0];
should work.