Fix typo in error messages. Fixes #840.

This commit is contained in:
Brian Huffman 2020-07-28 14:29:43 -07:00
parent 1a2456a3a7
commit 928ac7f7a1

View File

@ -204,12 +204,12 @@ solveIntegralInst ty = case tNoUser ty of
TCon (TC TCBit) [] -> SolvedIf [ pFin n ]
TVar _ -> Unsolved
_ -> Unsolvable $ TCErrorMessage $ show
$ "Type" <+> quotes (pp ty) <+> "is not an intergral type."
$ "Type" <+> quotes (pp ty) <+> "is not an integral type."
TVar _ -> Unsolved
_ -> Unsolvable $ TCErrorMessage $ show
$ "Type" <+> quotes (pp ty) <+> "is not an intergral type."
$ "Type" <+> quotes (pp ty) <+> "is not an integral type."
-- | Solve a Field constraint by instance, if possible.