[GHC] #13755: GHC-8.0.2+ spits out $dm names in error messages

GHC ghc-devs at haskell.org
Thu May 25 23:06:00 UTC 2017


#13755: GHC-8.0.2+ spits out $dm names in error messages
-------------------------------------+-------------------------------------
        Reporter:  zilinc            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.0.2
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #10087            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by zilinc):

 Thanks Ryan --- I didn't know the internal name leakage had been an issue
 for quite a while. As a '''user''', if I didn't know what `$dm` or `$gdm`
 means, it could be hard to see `$dgmreflective` actually refers to
 `reflective`, esp. there's no delimiter between the prefix and the real
 name. The bottom line for me, personally, is to avoid the `$` prefixes
 (stepping back even further, if we couldn't, at least explain it in the
 user guide). If we could do better, Ryan's suggestion makes perfect sense.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13755#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list