Commit e45d0387 authored by simonpj@microsoft.com's avatar simonpj@microsoft.com

Make the arity warning a bit more informative (DEBUG only)

parent 13e4c20c
...@@ -282,7 +282,7 @@ applyStateHack e (AT orig_arity is_bot) ...@@ -282,7 +282,7 @@ applyStateHack e (AT orig_arity is_bot)
1 + go res (arity-1) 1 + go res (arity-1)
else WARN( arity > 0, ppr arity ) 0 else WARN( arity > 0, ppr arity ) 0
-} -}
| otherwise = WARN( arity > 0, ppr arity ) 0 | otherwise = WARN( arity > 0, ppr arity <+> ppr ty) 0
\end{code} \end{code}
Note [State hack and bottoming functions] Note [State hack and bottoming functions]
......
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