Skip to content
  • Simon Peyton Jones's avatar
    Reduce module qualifiers in pretty-printing · 547c5971
    Simon Peyton Jones authored
    The change is in HscTypes.mkPrintUnqualified, and suppresses the
    module qualifier on Names from ghc-prim, base, and template-haskell,
    where no ambiguity can aries.  It's somewhat arbitrary, but helps
    with things like 'Constraint' which are often not in scope, but
    occasionally show up in error messages.
    547c5971