Commit df087858 authored by simonpj@microsoft.com's avatar simonpj@microsoft.com
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)
in
returnM (tidy_env1, Just msg)
find_thing _ _ thing = pprPanic "find_thing" (ppr thing)
\end{code}
\begin{code}
......
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