dotnet / dotnet/fsharp

Wrong warning "This qualifier is redundant"

Open
#16,862 0 comments 1 reaction 0 assignees View on GitHub
Area-Diagnostics Bug Impact-Low
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.