Fix the nullary-type-class case for associated types
It was already ok for methods. Fixes Trac #10020 (cherry picked from commit dda65282)
Showing
- compiler/typecheck/TcTyClsDecls.hs 22 additions, 15 deletionscompiler/typecheck/TcTyClsDecls.hs
- testsuite/tests/indexed-types/should_compile/T10020.hs 5 additions, 0 deletionstestsuite/tests/indexed-types/should_compile/T10020.hs
- testsuite/tests/indexed-types/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/indexed-types/should_compile/all.T
Please register or sign in to comment