Fix #8758 by assuming RankNTypes when checking GND code.
(cherry picked from commit 8cc398ff)
Showing
- compiler/typecheck/TcDeriv.lhs 2 additions, 1 deletioncompiler/typecheck/TcDeriv.lhs
- testsuite/tests/deriving/should_compile/T8758.hs 9 additions, 0 deletionstestsuite/tests/deriving/should_compile/T8758.hs
- testsuite/tests/deriving/should_compile/T8758a.hs 8 additions, 0 deletionstestsuite/tests/deriving/should_compile/T8758a.hs
- testsuite/tests/deriving/should_compile/all.T 2 additions, 1 deletiontestsuite/tests/deriving/should_compile/all.T
Loading
Please register or sign in to comment