fix a typo
`ExpectedEq` does not expect an *enumeration* type
This commit is contained in:
parent
c5403a970e
commit
0dd3c231e6
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ prettyErrorNoLoc showContext = \case
|
||||||
!(prettyTerm ctx.dnames ctx.tnames s)
|
!(prettyTerm ctx.dnames ctx.tnames s)
|
||||||
|
|
||||||
ExpectedEq _ ctx s =>
|
ExpectedEq _ ctx s =>
|
||||||
hangDSingle "expected an enumeration type, but got"
|
hangDSingle "expected an equality type, but got"
|
||||||
!(prettyTerm ctx.dnames ctx.tnames s)
|
!(prettyTerm ctx.dnames ctx.tnames s)
|
||||||
|
|
||||||
ExpectedNat _ ctx s =>
|
ExpectedNat _ ctx s =>
|
||||||
|
|
Loading…
Reference in a new issue