gleam-lang/gleam

Formatter unnecessarily wraps expressions inside bit array size segments in a block.

Open

Aperta il 11 apr 2026

Vedi su GitHub
 (3 commenti) (0 reazioni) (1 assegnatario)Rust (21.417 star) (960 fork)batch import
help wanted

Descrizione

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.

Guida contributor