diff --git a/src/Components/InfoPanel.fs b/src/Components/InfoPanel.fs index 13daaf33..2f91e809 100644 --- a/src/Components/InfoPanel.fs +++ b/src/Components/InfoPanel.fs @@ -129,6 +129,10 @@ module InfoPanel = let types = res.DeclaredTypes |> List.filter (not << String.IsNullOrWhiteSpace) + // Compiler-generated names start with '<' (e.g. <>c__DisplayClass, d__0) + // or contain '@' (F# closure types like MatchClosure@123). + // These are never useful to show in the Info Panel. + |> List.filter (fun t -> not (t.StartsWith("<") || t.Contains("@"))) |> List.distinct |> fsharpBlock