Commit 6406cd29 authored by pcapriotti's avatar pcapriotti
Browse files

Use pprInfixName in pprInfo (#6091)

Surround a name in backticks when printing an infix declaration in GHCi.
parent 6c3045b9
......@@ -993,7 +993,7 @@ pprInfo pefas (thing, fixity, insts)
where
show_fixity fix
| fix == GHC.defaultFixity = empty
| otherwise = ppr fix <+> ppr (GHC.getName thing)
| otherwise = ppr fix <+> pprInfixName (GHC.getName thing)
-----------------------------------------------------------------------------
-- :main
......
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