#6276·gleam

ls: show unchanged fields for record updates in consts

Author: ankddevCreated Sep 4, 2026Updated Sep 15, 2026
Labelshelp wantedgood first issue

I noticed that there's no information about unchanged fields in hovers of record updates in consts. For example,

gleam
type Wibble {
  Wibble(a: Int, b: Int)
}

const wibble = Wibble(0, 0)

const wobble = Wibble(..wibble, b: 1)
//                    ^^^^^^^^ No information on hover

pub fn main() {
  let wubble = Wibble(..wibble, b: 1)
  //                  ^^^^^^^^ `Unchanged record fields: - a: Int`
}