Compare commits

...

1 Commits

Author SHA1 Message Date
Scott Morrison
a7f8e8d473 chore: report used instances correctly in diagnostics 2024-05-02 15:32:43 +10:00

View File

@@ -58,7 +58,7 @@ def mkDiagSummaryForUnfoldedReducible (counters : PHashMap Name Nat) : MetaM Dia
getReducibilityStatusCore env declName matches .reducible
def mkDiagSummaryForUsedInstances : MetaM DiagSummary := do
mkDiagSummary ( get).diag.heuristicCounter
mkDiagSummary ( get).diag.instanceCounter
def appendSection (m : MessageData) (cls : Name) (header : String) (s : DiagSummary) : MessageData :=
if s.isEmpty then