Commits on Source (9)
-
jpm@cs.ox.ac.uk authored
-
jpm@cs.ox.ac.uk authored
-
jpm@cs.ox.ac.uk authored
-
jpm@cs.ox.ac.uk authored
-
jpm@cs.ox.ac.uk authored
-
jpm@cs.ox.ac.uk authored
Let DeriveAnyClass properly handle multiparameter type classes. Also use a new strategy for inferring constraints for derived classes. This fixes #9968 and #9821.
-
jpm@cs.ox.ac.uk authored
-
jpm@cs.ox.ac.uk authored
-
jpm@cs.ox.ac.uk authored
Showing
- compiler/main/HscTypes.hs 1 addition, 1 deletioncompiler/main/HscTypes.hs
- compiler/typecheck/Inst.hs 2 additions, 2 deletionscompiler/typecheck/Inst.hs
- compiler/typecheck/TcDeriv.hs 185 additions, 84 deletionscompiler/typecheck/TcDeriv.hs
- compiler/typecheck/TcGenDeriv.hs 90 additions, 104 deletionscompiler/typecheck/TcGenDeriv.hs
- compiler/typecheck/TcGenGenerics.hs 72 additions, 21 deletionscompiler/typecheck/TcGenGenerics.hs
- docs/users_guide/glasgow_exts.xml 4 additions, 4 deletionsdocs/users_guide/glasgow_exts.xml
- testsuite/tests/generics/GEq/GEq1A.hs 1 addition, 1 deletiontestsuite/tests/generics/GEq/GEq1A.hs
- testsuite/tests/generics/GenDerivOutput.stderr 29 additions, 29 deletionstestsuite/tests/generics/GenDerivOutput.stderr
- testsuite/tests/generics/GenDerivOutput1_1.stderr 53 additions, 53 deletionstestsuite/tests/generics/GenDerivOutput1_1.stderr
- testsuite/tests/generics/T5462Yes1.hs 4 additions, 2 deletionstestsuite/tests/generics/T5462Yes1.hs
- testsuite/tests/generics/T5462Yes1.stdout 1 addition, 1 deletiontestsuite/tests/generics/T5462Yes1.stdout
- testsuite/tests/generics/all.T 2 additions, 2 deletionstestsuite/tests/generics/all.T
- testsuite/tests/typecheck/should_compile/T9968.hs 79 additions, 0 deletionstestsuite/tests/typecheck/should_compile/T9968.hs
- testsuite/tests/typecheck/should_compile/all.T 10 additions, 9 deletionstestsuite/tests/typecheck/should_compile/all.T