export {...}
doesn't work with ES6 target and non-ES6 modules
#5175
Milestone
export {...}
doesn't work with ES6 target and non-ES6 modules
#5175
In #4811 we enabled generating code for ES6 with non-ES6 modules (which, for example, is useful when targeting Node.js v4). This work didn't properly handle
export {...}
declarations.Compile the following with
-t es6 -m commonjs
:Expected output is:
Actual output is:
I will be putting up a fix for the problem shortly.
The text was updated successfully, but these errors were encountered: