[GHC] #15279: CPP #includes may result in nonsensical SrcSpans

GHC ghc-devs at haskell.org
Sun Jun 17 14:05:05 UTC 2018


#15279: CPP #includes may result in nonsensical SrcSpans
-------------------------------------+-------------------------------------
        Reporter:  wz1000            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:  cpp
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #14113            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Indeed (2) seems like it might be a bit more complexity than warranted by
 the severity of the issue. (1) on the other hand seems a bit unfortunate
 since it may lose useful (albeit also slightly misleading) information.
 Nevertheless, I agree that (3) is also unfortunately so yes, let's just
 move ahead with (1).

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


More information about the ghc-tickets mailing list