Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/fsharp/vs/ServiceAssemblyContent.fs
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,9 @@ module internal Entity =
| _ ->
partiallyQualifiedName
|> Array.heads
// the last part must be unresolved, otherwise we show false positive suggestions like
// long ident must contain an unresolved part, otherwise we show false positive suggestions like
// "open System" for `let _ = System.DateTime.Naaaw`. Here only "Naaw" is unresolved.
|> Array.filter (fun x -> not (x.[x.Length - 1].Resolved))
|> Array.filter (fun x -> x |> Array.exists (fun x -> not x.Resolved))
|> Array.choose (fun parts ->
let parts = parts |> Array.map (fun x -> x.Ident)
if not (candidate |> Array.endsWith parts) then None
Expand Down