[GHC] #14779: Compiling with -g fails -lint-core checks

GHC ghc-devs at haskell.org
Tue Mar 6 13:57:01 UTC 2018


#14779: Compiling with -g fails -lint-core checks
-------------------------------------+-------------------------------------
        Reporter:  niteria           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.4.2
       Component:  Compiler          |              Version:  8.3
  (Debugging)                        |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #14122, #14123,   |  Differential Rev(s):  phab:D4470
  #8472, #14406                      |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Bartosz Nitka <niteria@…>):

 In [changeset:"5bc195a2caddc5c29cf24e9c731dd8d5050f2c66/ghc"
 5bc195a2/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="5bc195a2caddc5c29cf24e9c731dd8d5050f2c66"
 Allow top level ticked string literals

 This reverts f5b275a239d2554c4da0b7621211642bf3b10650
 and changes the places that looked for `Lit (MachStr _))`
 to use `exprIsMbTickedLitString_maybe` to unwrap ticks as
 necessary.
 Also updated relevant comments.

 Test Plan:
 I added 3 new tests that previously reproduced.
 GHC HEAD now builds with -g

 Reviewers: simonpj, simonmar, bgamari, hvr, goldfire

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #14779

 Differential Revision: https://phabricator.haskell.org/D4470
 }}}

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


More information about the ghc-tickets mailing list