[GHC] #4043: Parsing of guards, and type signatures

GHC cvs-ghc at haskell.org
Tue May 4 07:47:35 EDT 2010


#4043: Parsing of guards, and type signatures
----------------------------------+-----------------------------------------
    Reporter:  igloo              |        Owner:              
        Type:  bug                |       Status:  new         
    Priority:  normal             |    Milestone:  6.14.1      
   Component:  Compiler (Parser)  |      Version:  6.12.2      
    Keywords:                     |   Difficulty:              
          Os:  Unknown/Multiple   |     Testcase:              
Architecture:  Unknown/Multiple   |      Failure:  None/Unknown
----------------------------------+-----------------------------------------
 According to the report, this:
 {{{
 foo
  | True :: Bool
     = 'a'
 }}}
 shouldn't be accepted, but GHC accepts it.

 Discussion here: http://www.haskell.org/pipermail/haskell-
 prime/2010-May/003183.html

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4043>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list