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
The following code:
const f = (b) => class a extends b {};
Produces the following incorrect output:
var f = function (b) (function (b) { // ... the rest is correct
Possible workaround is to use parentheses:
const f = (b) => (class a extends b {});
...or to to use ordinary function:
const f = function(b) { return class a extends b {}; };
Caught this while trying to transpile asn.js with such syntax.
The text was updated successfully, but these errors were encountered:
Fix compatibility issue with Buble transpiler
872ae3c
This quick'n'dirty fix allows dependents to use Bublé transpiler: bublejs/buble#150
1ca1f68
9eeb1e9
455a224
No branches or pull requests
The following code:
Produces the following incorrect output:
Possible workaround is to use parentheses:
...or to to use ordinary function:
Caught this while trying to transpile asn.js with such syntax.
The text was updated successfully, but these errors were encountered: