#1240: Template Haskell only accepts semicolons not newlines in data declaration
quotations
---------------------------------+------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |          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
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to