We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e066b1 commit f38bd78Copy full SHA for f38bd78
src/FsAutoComplete.Core/Commands.fs
@@ -785,12 +785,13 @@ module Commands =
785
symbolUses
786
else
787
symbolUses |> Seq.filter (fun u -> not u.IsFromDefinition)
788
-
+
789
// For Active Pattern Cases, FCS returns all cases in the pattern, not just the specific one
790
// We need to filter to only the symbol that matches our query
791
match symbolUse.Symbol with
792
| :? FSharpActivePatternCase as apc ->
793
- baseFiltered |> Seq.filter (fun u ->
+ baseFiltered
794
+ |> Seq.filter (fun u ->
795
match u.Symbol with
796
| :? FSharpActivePatternCase as foundApc -> foundApc.Name = apc.Name
797
| _ -> false)
0 commit comments