[GHC] #14703: Uniques should not appear in error messages (was: T14507 testcase fragile due to unique exposed in error message)

GHC ghc-devs at haskell.org
Mon Jan 22 21:39:13 UTC 2018


#14703: Uniques should not appear in error messages
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Test Suite        |              Version:  8.5
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by simonpj):

 * status:  closed => new
 * resolution:  fixed =>


Comment:

 This feels like the wrong solution.  We really shouldn't print uniques in
 user error messages in the first place.

 Still, it's very much a corner case, so I'm not sure it's worth many
 cycles to fix.

 But I'll re-open as "uniques should not appear in error messages".

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


More information about the ghc-tickets mailing list