swc/tests/fixture/issue-532/block/input/index.js
강동윤 252804d2e3
fix(swc): Fix bugs (#1529)
swc_ecma_parser:
 - Fix comment positions. (#1530)

swc_ecam_transforms_compat:
 - Handle default in destructuring binding patterns. (#1477, #1449)
 - `async_to_generator`: Handle `this` correctly for async function in key-value properties. (#1455)

swc_ecam_transforms_typescript:
 - Handle import defaults. (#1448)
2021-04-02 18:47:05 +09:00

7 lines
171 B
JavaScript

/*pre: 1*/
test(/*2*/);
test(123/*post: 3*/);
test(/*pre: 4*/123);
test(/*pre: 5*/123/*post: 6*/);
test(/*pre: 7*/123,/*pre: 8*/456);
test(123/*post: 9*/,456/*post: 10*/);