swc/tests/fixture/issue-1341
강동윤 5ce4e1e927
fix(es/parser): Use correct position for comments (#1527)
swc_ecma_parser:
 - Use correct position for comments in

```ts
function Bar() {
  const [foo, setFoo] = useState(0);
  React.useEffect(() => {
    // @refresh reset
  });
  return <h1>{foo}</h1>;
}
```
2021-03-31 19:30:05 +09:00
..
case1 fix(es/parser): Use correct position for comments (#1527) 2021-03-31 19:30:05 +09:00