[GHC] #8619: Support anonymous string literals in C-- (OR) give better ASSERT failure messages in C--

GHC ghc-devs at haskell.org
Sun Jun 17 09:17:47 UTC 2018


#8619: Support anonymous string literals in C-- (OR) give better ASSERT failure
messages in C--
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  low               |            Milestone:
       Component:  Compiler          |              Version:  7.7
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by osa1):

 This would be really helpful when debugging. Currently we have to use NULL
 for the location in `assertFail`, causing error messages like `ghc-stage2:
 internal error: ASSERTION FAILED: file (null), line 1302`.

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


More information about the ghc-tickets mailing list