fsharp icon indicating copy to clipboard operation
fsharp copied to clipboard

Comparison of incorrectly annotated classes hides original problems

Open psfinaki opened this issue 2 years ago • 0 comments

Discovered when playing with F# comparison rules.

Look: image

This is the correct error. But once I add a comparison test, the error changes and becomes confusing: image

Expected behavior

Both errors show up.

Actual behavior

The new error hides the original one.

Known workarounds

Don't do this.

Related information

This is pretty much an edge case and this bug is worth giving it attention only if hides some more serious issue.

Shot in the dark, @auduchinok do you think this can be related to parser rules and/or easily fixed there?

psfinaki avatar Jan 11 '24 13:01 psfinaki