Add a crucial forkM on the superclass context of IfaceClass in tcIfaceDecl
The absence of this was causing a loop when typechecking an interface where the superclass context mentioned an associated type class C (T a) => D a where data T a Fixes Trac #5970
Showing
- compiler/iface/BuildTyCl.lhs 3 additions, 4 deletionscompiler/iface/BuildTyCl.lhs
- compiler/iface/LoadIface.lhs 1 addition, 1 deletioncompiler/iface/LoadIface.lhs
- compiler/iface/TcIface.lhs 25 additions, 11 deletionscompiler/iface/TcIface.lhs
- compiler/typecheck/FamInst.lhs 3 additions, 0 deletionscompiler/typecheck/FamInst.lhs
Loading
Please register or sign in to comment