mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
5ce4e1e927
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>; } ```
5 lines
54 B
JavaScript
5 lines
54 B
JavaScript
while(true){
|
|
/**
|
|
* comments in empty block
|
|
*/ }
|