Open gkovacs opened 7 years ago
The reader and enforester don't currently handle async
and await
.
@disnet we'll have to update sweet-spec
, and tokens
, enforester
, etc. and the version of shift-codegen
I think.
shift doesn't have es2017 (async
/await
) support just yet so we're blocked on that. I hear it's being prioritized soon though.
I'm running the master branch, at commit https://github.com/sweet-js/sweet.js/commit/62a63cd09762f9ab9b3a89147d882344dad8d1f5 With the following code:
I get the following error
Result is same if I don't use the --no-babel option