gleam-lang/gleam
Formatter unnecessarily wraps expressions inside bit array size segments in a block.
クローズ
#5,606 opened on 2026/04/11
help wanted
Repository metrics
- Stars
- (21,417 個のスター)
- PR merge metrics
- (平均マージ 10d 19h) (30d で 69 merged PRs)
説明
Given this like:
let slice = <<bits:bits-size(count * marshal_zone_size)-unit(8)>>
The formatter will modify it to:
let slice = <<bits:bits-size({ count * marshal_zone_size })-unit(8)>>
Even though the original is less than 80 characters wide.