[GHC] #4150: CPP+QuasiQuotes confuses compilation errors' line numbers

GHC ghc-devs at haskell.org
Sun Jan 4 21:51:20 UTC 2015


#4150: CPP+QuasiQuotes confuses compilation errors' line numbers
-------------------------------------+-------------------------------------
        Reporter:  yairchu           |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  low               |               Milestone:  7.12.1
       Component:  Compiler          |                 Version:  6.12.3
  (Parser)                           |                Keywords:
      Resolution:                    |            Architecture:
Operating System:  Unknown/Multiple  |  Unknown/Multiple
 Type of failure:  Incorrect         |               Test Case:
  warning at compile-time            |  quasiquotation/T4150
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by crobbins):

 Is there any way we could move this back to 7.10.1?

 This makes integration with tools very error-prone.  For instance, error
 highlighting in your editor will be in the wrong place.  Any feature that
 requires an accurate line/column position will work inconsistently for end
 users as a result.

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


More information about the ghc-tickets mailing list