|
Re: [GHC] #818: Uncaught kind error leads to the 'impossible' happening: msg#00034lang.haskell.glasgow.bugs
#818: Uncaught kind error leads to the 'impossible' happening -------------------------------------+-------------------------------------- Reporter: sweirich@xxxxxxxxxxxxx | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 6.4 Severity: normal | Resolution: Keywords: | Os: MacOS X Difficulty: Unknown | Architecture: Unknown -------------------------------------+-------------------------------------- Old description: > data F c a = F (c a) > > data Val c a = Val (F c) a --- should produce a kind error but doesn't > > t = Val (F [True]) False --- here we get the impossible > > --------------------------------------- > dhcp38-137:~/writing/exrep sweirich$ ghci test.hs > ___ ___ _ > / _ \ /\ /\/ __(_) > / /_\// /_/ / / | | GHC Interactive, version 6.4, for Haskell 98. > / /_\\/ __ / /___| | http://www.haskell.org/ghc/ > \____/\/ /_/\____/|_| Type :? for help. > > Loading package base-1.0 ... linking ... done. > Compiling Main ( test.hs, interpreted ) > ghc-6.4: panic! (the `impossible' happened, GHC version 6.4): > Unify.unifyTauTyLists: mismatched type lists! > > Please report it as a compiler bug to glasgow-haskell-bugs@xxxxxxxxxxx, > or http://sourceforge.net/projects/ghc/. New description: {{{ data F c a = F (c a) data Val c a = Val (F c) a --- should produce a kind error but doesn't t = Val (F [True]) False --- here we get the impossible }}} Here is a run {{{ dhcp38-137:~/writing/exrep sweirich$ ghci test.hs ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 6.4, for Haskell 98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \____/\/ /_/\____/|_| Type :? for help. Loading package base-1.0 ... linking ... done. Compiling Main ( test.hs, interpreted ) ghc-6.4: panic! (the `impossible' happened, GHC version 6.4): Unify.unifyTauTyLists: mismatched type lists! Please report it as a compiler bug to glasgow-haskell-bugs@xxxxxxxxxxx, or http://sourceforge.net/projects/ghc/. }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/818> 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] #819: Uncaught kind error leads to the 'impossible' happening, GHC |
|---|---|
| Next by Date: | Re: [GHC] #819: Uncaught kind error leads to the 'impossible' happening, GHC |
| Previous by Thread: | [GHC] #818: Uncaught kind error leads to the 'impossible' happening, GHC |
| Next by Thread: | Re: [GHC] #818: Uncaught kind error leads to the 'impossible' happening, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |