names from types on add missing cases

This commit is contained in:
2026-01-05 21:25:55 -08:00
parent 2ca43b6350
commit 31cc891046

View File

@@ -1190,7 +1190,7 @@ buildDefault ctx prob fc scnm missing = do
_ => pure qn.baseName _ => pure qn.baseName
where where
go : String Tm String go : String Tm String
go acc (Pi _ _ Explicit _ _ t) = go "\{acc} _" t go acc (Pi _ nm Explicit _ _ t) = go "\{acc} \{nm}" t
go acc (Pi _ _ _ _ _ t) = go acc t go acc (Pi _ _ _ _ _ t) = go acc t
go acc _ = acc go acc _ = acc