|
[GHC] #940: GADT + impredicative polymorphism => stack overflow: msg#00106lang.haskell.glasgow.bugs
#940: GADT + impredicative polymorphism => stack overflow --------------------------------------+------------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Type checker) | Version: 6.6 Severity: normal | Keywords: Difficulty: Unknown | Architecture: Unknown Os: Unknown | --------------------------------------+------------------------------------- The following makes the GHC 6.6 type checker loop/overflow: {{{ {-# OPTIONS_GHC -fglasgow-exts #-} data Foo a b where F :: a -> Foo () a bar :: Foo () (forall a.a) -> () bar (F _) = () }}} ghc yields stack overflow, as does ghci. Reloading in GHCi leads to an infinite loop. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/940> 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: | Re: [GHC] #939: Possible bug building wxhaskell, GHC |
|---|---|
| Next by Date: | [GHC] #941: readFile problem in ghci, GHC |
| Previous by Thread: | [GHC] #939: Possible bug building wxhaskell, GHC |
| Next by Thread: | Re: [GHC] #940: GADT + impredicative polymorphism => stack overflow, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |