Formatter loses comments in `let` statements
Open
bug
dslx
dslx:fmt
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 283
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 135
Description
Similar to #1697 and #1739
**To Reproduce**
Format:
```
let X = // before value
u32:32;
```
**Expected behavior**
Output = input
**Actual behavior**
Comment is lost:
```
let X = u32:32;
```
It also loses a comment between the value and the semicolon.
Contributor guide
Assessment
This issue has not been assessed yet.