When trying to disable formatting, formatter adds extra = in the middle of a const definition
Open
bug
dslx
dslx:fmt
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 283
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 135
Description
**To Reproduce**
Format:
```
const x // dslx-fmt::off
= u32 :1
// dslx-fmt::on
;
```
**Expected behavior**
output = input
**Actual behavior**
```
// dslx-fmt::off
const x = = u32 :1
// dslx-fmt::on
;
```
Contributor guide
Assessment
This issue has not been assessed yet.