#8430: Literate haskell accepts spurious \end{code} lines
-------------------------------------+-------------------------------------
       Reporter:  errge              |             Owner:
           Type:  bug                |            Status:  new
       Priority:  normal             |         Milestone:
      Component:  Compiler           |           Version:  7.7
       Keywords:                     |  Operating System:  Unknown/Multiple
   Architecture:  Unknown/Multiple   |   Type of failure:  GHC accepts
     Difficulty:  Easy (less than 1  |  invalid program
  hour)                              |         Test Case:
     Blocked By:                     |          Blocking:
Related Tickets:                     |
-------------------------------------+-------------------------------------
 In #8428 klao removed a spurious \end{code} from `TypeRep.lhs`.  This made
 it clear that GHC has accepts spurious \end{code} lines in literate
 haskell code.

 This patch fixes the literate haskell preprocessor to issue an error in
 this case.  Interestingly though, after this change nothing breaks except
 for klao's already merged patch, so this issue was not found in other .lhs
 files through GHC.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8430>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets

Reply via email to