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

GHC trac at galois.com
Fri Mar 23 15:17:48 EDT 2007


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

  * resolution:  => invalid
  * status:  new => closed

Comment:

 That code has incorrect layout. Similarly, with plain old Haskell,
 {{{
     data Foo
 data Bar
 }}}
 would be rejected. All the declarations need to be aligned (or use
 explicit braces and semi-colons, as you said).

 Thanks

 Ian

-- 
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