|
[GHC] #700: Inconsistent typechecking of pattern match in function binding: msg#00050lang.haskell.glasgow.bugs
#700: Inconsistent typechecking of pattern match in function binding -------------------------+-------------------------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 6.4.1 Severity: normal | Keywords: Os: Unknown | Difficulty: Unknown Architecture: Unknown | -------------------------+-------------------------------------------------- {{{ f,g :: (forall a. Maybe a) -> (forall a. a) f x = case x of Just y -> y g (Just y) = y }}} f is accepted by 6.4.1, but g isn't. I think g should also be accepted. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/700> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [GHC] #699: GHCi doesn't implement foreign import on amd64 when interpreting., GHC |
|---|---|
| Next by Date: | The make problem, Ian Lynagh |
| Previous by Thread: | [GHC] #699: GHCi doesn't implement foreign import on amd64 when interpreting., GHC |
| Next by Thread: | Re: [GHC] #700: Inconsistent typechecking of pattern match in function binding, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |