[GHC] #7938: Unbound kind variable can appear in RHS of associated type
GHC
ghc-devs at haskell.org
Sun Aug 4 17:53:09 CEST 2013
#7938: Unbound kind variable can appear in RHS of associated type
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner: goldfire
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.7
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: GHC accepts | Difficulty: Easy (less than 1
invalid program | hour)
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+-------------------------------------
Changes (by goldfire):
* difficulty: => Easy (less than 1 hour)
* version: 7.6.3 => 7.7
Comment:
With the changes to kind inference that came with closed type families,
the exact code above fails to compile, as expected. However, if we change
the declaration of `Bar` to be `type Bar a :: k`, the code still compiles.
Looking into this now.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7938#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list