[GHC] #1240: Template Haskell only accepts semicolons not newlines in data declaration quotations

GHC trac at galois.com
Fri Mar 23 04:45:17 EDT 2007


#1240: Template Haskell only accepts semicolons not newlines in data declaration
quotations
---------------------------------+------------------------------------------
 Reporter:  greenrd at greenrd.org  |          Owner:                
     Type:  bug                  |         Status:  new           
 Priority:  low                  |      Milestone:                
Component:  Template Haskell     |        Version:  6.6           
 Severity:  minor                |     Resolution:                
 Keywords:                       |     Difficulty:  Unknown       
 Testcase:                       |   Architecture:  x86_64 (amd64)
       Os:  Linux                |  
---------------------------------+------------------------------------------
Changes (by greenrd):

  * summary:  Template Haskell only accepts semicolons not newlines in
              declaration quotations => Template Haskell only
              accepts semicolons not newlines in data
              declaration quotations

Comment:

 Woops, I knew I should have attached a test case.

 {{{
 $(id [d|data Foo
 data Bar |] )
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1240>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list