mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
4d4e4ce979
swc_ecma_parser: - improve parser's tests It now shows the code failed to parse - allow rest pattern in catch clause - fix parsing of named export (semicolon) swc_ecma_transforms: - implement array spread - add helper methods (objectWithoutProperties) - add some fast paths - make es2015::parameters handle catch clauses - don't show helpers when execution failed - export fixer
5 lines
58 B
JavaScript
5 lines
58 B
JavaScript
export default function a() {
|
|
};
|
|
let b;
|
|
export { b as a }
|