Commit c5d261df authored by simonpj's avatar simonpj
Browse files

[project @ 2001-11-02 09:50:32 by simonpj]

Add missing cases to pp_origin; MERGE TO STABLE
parent 2ca9a768
......@@ -702,12 +702,16 @@ pprInstLoc (orig, locn, ctxt)
= hsep [ptext SLIT("use of implicit parameter"), quotes (char '?' <> ppr name)]
pp_orig (IPBind name)
= hsep [ptext SLIT("binding for implicit parameter"), quotes (char '?' <> ppr name)]
pp_orig RecordUpdOrigin
= ptext SLIT("a record update")
pp_orig DataDeclOrigin
= ptext SLIT("the data type declaration")
pp_orig InstanceDeclOrigin
= ptext SLIT("the instance declaration")
pp_orig (LiteralOrigin lit)
= hsep [ptext SLIT("the literal"), quotes (ppr lit)]
pp_orig (PatOrigin pat)
= hsep [ptext SLIT("the pattern"), quotes (ppr pat)]
pp_orig (InstanceDeclOrigin)
= ptext SLIT("the instance declaration")
pp_orig (ArithSeqOrigin seq)
= hsep [ptext SLIT("the arithmetic sequence"), quotes (ppr seq)]
pp_orig (SignatureOrigin)
......
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