Typeable: Ensure that promoted data family instance tycons get bindings
This fixes #13915, where the promoted tycons belonging to data family instances wouldn't get Typeable bindings, resulting in missing declarations. Test Plan: Validate with included testcases Reviewers: austin, simonpj Reviewed By: simonpj Subscribers: simonpj, RyanGlScott, rwbarton, thomie GHC Trac Issues: #13915 Differential Revision: https://phabricator.haskell.org/D3759
Showing
- compiler/typecheck/TcEnv.hs 7 additions, 4 deletionscompiler/typecheck/TcEnv.hs
- compiler/typecheck/TcRnTypes.hs 2 additions, 1 deletioncompiler/typecheck/TcRnTypes.hs
- compiler/typecheck/TcTypeable.hs 4 additions, 4 deletionscompiler/typecheck/TcTypeable.hs
- testsuite/tests/perf/compiler/all.T 2 additions, 1 deletiontestsuite/tests/perf/compiler/all.T
- testsuite/tests/typecheck/should_compile/T13915a.hs 7 additions, 0 deletionstestsuite/tests/typecheck/should_compile/T13915a.hs
- testsuite/tests/typecheck/should_compile/T13915a_Foo.hs 5 additions, 0 deletionstestsuite/tests/typecheck/should_compile/T13915a_Foo.hs
- testsuite/tests/typecheck/should_compile/T13915b.hs 11 additions, 0 deletionstestsuite/tests/typecheck/should_compile/T13915b.hs
- testsuite/tests/typecheck/should_compile/all.T 2 additions, 0 deletionstestsuite/tests/typecheck/should_compile/all.T
Loading
Please register or sign in to comment