-
Notifications
You must be signed in to change notification settings - Fork 846
Closed
Labels
Area-Diagnosticsmistakes and possible improvements to diagnosticsmistakes and possible improvements to diagnosticsBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
Description
#line causes many problems in the IDE
#nowarn doesn't work in the presence of #line
#nowarn "25"
#line 1 "foo.fs"
let f 1 = 2
Expect: no warning
Actual:
foo.fs(1,7): warning FS0025: Incomplete pattern matches on this expression. For example, the value '0' may indicate a case not covered by the pattern(s).
FindAllReferences doesn't work
Take this code (presumably generated):
module File1
#nowarn "25"
#line 1 "foo.fs"
let Thing 1 = 2 FindAllReferences on "Thing"
Expected: one usage at the correct location in the given generated file (this is what C# does)
Actual: one usage on line 1 of File1.fs
Metadata
Metadata
Assignees
Labels
Area-Diagnosticsmistakes and possible improvements to diagnosticsmistakes and possible improvements to diagnosticsBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.