ASSERT failed: TcCanonical:520 for kind-checking unsaturated type families
{-# LANGUAGE TypeFamilies, PolyKinds #-}
type family Foo (x :: k)
ghci> :k Foo
*** Exception: ASSERT failed! file compiler/typecheck/TcCanonical.lhs, line 520
This was tested on a checkout from 22 May.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.7 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |