Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit 24eee8e

Browse files
auduchinoknosami
authored andcommitted
Less subsequent filtering in completion (dotnet#7650)
1 parent dfc9387 commit 24eee8e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/fsharp/service/FSharpCheckerResults.fs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,8 +717,9 @@ type internal TypeCheckInfo
717717
| None | Some [] ->
718718
let globalItems =
719719
allSymbols()
720-
|> List.filter (fun x -> not x.Symbol.IsExplicitlySuppressed)
721-
|> List.filter (fun x ->
720+
|> List.filter (fun x ->
721+
not x.Symbol.IsExplicitlySuppressed &&
722+
722723
match x.Symbol with
723724
| :? FSharpMemberOrFunctionOrValue as m when m.IsConstructor && filterCtors = ResolveTypeNamesToTypeRefs -> false
724725
| _ -> true)

0 commit comments

Comments
 (0)