[GHC] #15716: GHC hangs on default implementation of type family
GHC
ghc-devs at haskell.org
Sun Oct 7 15:20:27 UTC 2018
#15716: GHC hangs on default implementation of type family
-------------------------------------+-------------------------------------
Reporter: Heimdell | Owner: (none)
Type: bug | Status: new
Priority: high | Milestone:
Component: Compiler | Version: 8.4.1
Resolution: | Keywords:
Operating System: Linux | Architecture: x86_64
Type of failure: Compile-time | (amd64)
crash or panic | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by int-index):
I cannot reproduce the hang on 8.4.3, I get an error instead:
{{{
A.hs:10:28: error:
• Expecting one more argument to ‘ExceptT (Error comp)’
Expected kind ‘* -> *’,
but ‘ExceptT (Error comp)’ has kind ‘(* -> *) -> * -> *’
• In the type ‘ExceptT (Error comp)’
In the default type instance declaration for ‘ComponentT’
In the class declaration for ‘Component’
|
10 | type ComponentT comp = ExceptT (Error comp)
|
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15716#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list