swc/tests/fixture/issue-1341/case1
강동윤 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
..
input fix(es): Fix bugs (#1353) 2021-01-23 20:52:53 +09:00
output fix(es/parser): Use correct position for comments (#1527) 2021-03-31 19:30:05 +09:00