Skip to content

Commit

Permalink
Fix typo in error messages. Fixes #840.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Huffman committed Jul 28, 2020
1 parent 1a2456a commit 928ac7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Cryptol/TypeCheck/Solver/Class.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 928ac7f

Please sign in to comment.