[GHC] #1901: 6.8.1 incorrectly infers contexts from pattern matches.

GHC trac at galois.com
Fri Nov 16 07:52:59 EST 2007


#1901: 6.8.1 incorrectly infers contexts from pattern matches.
----------------------+-----------------------------------------------------
 Reporter:  guest     |          Owner:         
     Type:  bug       |         Status:  closed 
 Priority:  normal    |      Milestone:         
Component:  Compiler  |        Version:  6.8.1  
 Severity:  normal    |     Resolution:  invalid
 Keywords:            |     Difficulty:  Unknown
 Testcase:            |   Architecture:  Unknown
       Os:  Unknown   |  
----------------------+-----------------------------------------------------
Comment (by guest):

 OK. I would submit that the section of the user manual I pointed to is
 confusing, then, because it certainly gives the impression that it's valid
 haskell98 :)

 However, bearing that in mind, shouldn't the program be rejected unless
 some appropriate extension is turned on?

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


More information about the Glasgow-haskell-bugs mailing list