#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
#line causes many problems in the IDE
#nowarndoesn't work in the presence of#lineExpect: no warning
Actual:
FindAllReferences doesn't work
Take this code (presumably generated):
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