An extra newline is unexpectedly inserted after a `dslx-fmt::on` comment
Open
bug
dslx
dslx:fmt
fmt:whitespace
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 283
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 135
Description
Format:
```
import thing1;
import thing2;
fn f() -> (u32, u16) {
let y = u16:64;
// dslx-fmt::off
let y = u16:64;
let x =
u32:41;
(x , y)
// dslx-fmt::on
}
```
inserts the extra newline after the `::on`.
Contributor guide
Assessment
This issue has not been assessed yet.