The source map is fixed. I verified that generated source map point the original source correctly by using source map visualizer.
regenerator pass had a bug related to
swc broke code like
But it's fixed and the function above correctly yields 3 times.
There was no integration test for bigint literals and the test suite failed to catch it. Previously, due to the bug of swc_ecma_codegen, bigint literal cannot be printed