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

GHC ghc-devs at haskell.org
Thu Feb 8 14:57:50 UTC 2018


#14779: Compiling with -g fails -lint-core checks
-------------------------------------+-------------------------------------
        Reporter:  niteria           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:
  (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):
  #8472, #14406                      |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 * D3925 seems to be be saying that a literal string should never be
 wrapped in certain sorts of ticks.  Fine if that's so.

 * But D3925 only makes Lint reject more programs (I think).  So how will
 it help here?

 * The invariant above says that top-level literal strings can't be
 surrounded by ticks of any kind.  And indeed that's what is tripping the
 Lint error we are seeing in this ticket

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


More information about the ghc-tickets mailing list