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

GHC ghc-devs at haskell.org
Tue Jan 6 06:55:44 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):

 I've been able to reproduce the issue; see the gist below.  Hopefully this
 should be simple to incorporate into a test case.

 https://gist.github.com/carymrobbins/8345cdcf7830fd6b1a6e

 Thanks again for your help!  I doubt I could be much help in the
 implementation department, but if there's anything else I can do let me
 know.

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


More information about the ghc-tickets mailing list