Revert debugging change in TypeError

This commit is contained in:
Scott Olsen 2020-05-05 22:40:37 -04:00
parent fc045f6957
commit deb1ecd51a

View File

@ -218,7 +218,7 @@ instance Show TypeError where
".\n\nSumtype cases look like this: `(Foo [Int typevar])`"
show (InvalidMemberType t xobj) =
"I cant use the type `" ++ show t ++ "` as a member type at " ++
pretty xobj ++
prettyInfoFromXObj xobj ++
".\n\nIs it defined and captured in the head of the type definition?"
show (InvalidMemberTypeWhenConcretizing t xobj err) =
"I cant use the concrete type `" ++ show t ++ "` at " ++ prettyInfoFromXObj xobj ++ ": " ++ show err