#2077: GHC ignores pragma due to preceding comment
-------------------------------+--------------------------------------------
    Reporter:  tbh             |       Owner:                   
        Type:  bug             |      Status:  new              
    Priority:  normal          |   Component:  Compiler (Parser)
     Version:  6.8.2           |    Severity:  normal           
    Keywords:                  |    Testcase:                   
Architecture:  x86_64 (amd64)  |          Os:  Linux            
-------------------------------+--------------------------------------------
 GHC ignores a {{{ {-# OPTIONS -fglasgow-exts #-} }}} pragma because
 something in the preceding comment block seems to irritate the parser. The
 attached files demonstrate this, in Trie1.hs the compiler ignores the
 pragma while Trie2.hs works fine. The only differences are the deleted
 lines in the comment block on top of the file.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2077>
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