fix a typo

`ExpectedEq` does not expect an *enumeration* type
This commit is contained in:
rhiannon morris 2023-08-13 13:45:29 +02:00
parent c5403a970e
commit 0dd3c231e6

View file

@ -267,7 +267,7 @@ prettyErrorNoLoc showContext = \case
!(prettyTerm ctx.dnames ctx.tnames s)
ExpectedEq _ ctx s =>
hangDSingle "expected an enumeration type, but got"
hangDSingle "expected an equality type, but got"
!(prettyTerm ctx.dnames ctx.tnames s)
ExpectedNat _ ctx s =>