[GHC] #2077: GHC ignores pragma due to preceding comment

GHC trac at galois.com
Tue Feb 5 16:59:15 EST 2008


#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


More information about the Glasgow-haskell-bugs mailing list