Skip to content

Polytype accepted in RHS of default associated type

This hogwash is accepted:

class C a where
  type F a
  type F a = forall m. m a

I will fix.

Trac metadata
Trac field Value
Version 7.10.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information