Commit df087858 authored by's avatar
Browse files

Print a more helpful error for find_thing

parent c276b9b6
......@@ -390,6 +390,8 @@ find_thing ignore_it tidy_env (ATyVar tv ty)
bound_at = parens $ ptext SLIT("bound at:") <+> ppr (getSrcLoc tv)
returnM (tidy_env1, Just msg)
find_thing _ _ thing = pprPanic "find_thing" (ppr thing)
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