#4150: CPP+QuasiQuotes confuses compilation errors' line numbers
-------------------------+--------------------------------------------------
    Reporter:  yairchu   |        Owner:                                   
        Type:  bug       |       Status:  new                              
    Priority:  normal    |    Milestone:                                   
   Component:  Compiler  |      Version:  6.12.3                           
    Keywords:            |   Difficulty:                                   
          Os:  MacOS X   |     Testcase:                                   
Architecture:  x86       |      Failure:  Incorrect warning at compile-time
-------------------------+--------------------------------------------------

Comment(by igloo):

 multi-line comments have the same problem:
 {{{
 {-# LANGUAGE CPP #-}

 {-
 #include "template.txt"
 -}

 somethingElse :: NoSuchType
 somethingElse = undefined
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4150#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to