Commit 0d4cd8b6 authored by Niels Bunkenburg's avatar Niels Bunkenburg

Add level hint to type variable error message

parent 8b51caf8
Pipeline #242 canceled with stage
......@@ -177,6 +177,8 @@ appendLevelTag (Just l) e = case appendLevelErrorTag' e of
"Usage of TypeInstance is forbidden on " --level...
appendLevelErrorTag' (TypeClassDecl _) =
"Usage of TypeClass is forbidden on " --level...
appendLevelErrorTag' (TypeVar _) =
"Usage of type variables is forbidden on "
appendLevelErrorTag' _ = ""
levelString :: Level -> String
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment