#3428: Wrong pragma parsing
----------------------------------+-----------------------------------------
    Reporter:  boris              |        Owner:         
        Type:  bug                |       Status:  closed 
    Priority:  normal             |    Milestone:         
   Component:  Compiler (Parser)  |      Version:  6.10.3 
    Severity:  normal             |   Resolution:  fixed  
    Keywords:  pragma             |   Difficulty:  Unknown
    Testcase:                     |           Os:  Windows
Architecture:  x86                |  
----------------------------------+-----------------------------------------
Changes (by igloo):

  * status:  new => closed
  * difficulty:  => Unknown
  * resolution:  => fixed

Comment:

 Thanks for the report. It looks like this is already fixed in the HEAD:
 {{{
 $ ghci a.hs
 GHCi, version 6.11.20090821: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Loading package ffi-1.0 ... linking ... done.
 [1 of 1] Compiling TestHS           ( a.hs, interpreted )

 a.hs:5:15:
     Not a data constructor: `forall'
     Perhaps you intended to use -XExistentialQuantification
 Failed, modules loaded: none.
 Prelude>
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3428#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to