fsharp icon indicating copy to clipboard operation
fsharp copied to clipboard

Wrong warning "This qualifier is redundant"

Open Martin521 opened this issue 1 year ago • 0 comments

Repro steps

type A = {m: int list}

let f x = []

let g a =
    let m = f a.m
    a.m.Length

For the a in the last line of the above code, FSAC shows a warning "This qualifier is redundant".

Expected behavior

No warning, the qualifier is necessary.

Martin521 avatar Mar 12 '24 09:03 Martin521