Fix #14811 by wiring in $tcUnit#
Previously, we were skipping over `$tcUnit#` entirely when wiring in `Typeable` tycons, resulting in #14811. Easily fixed. Test Plan: make test TEST=T14811 Reviewers: bgamari, dfeuer Reviewed By: dfeuer Subscribers: dfeuer, rwbarton, thomie, carter GHC Trac Issues: #14811 Differential Revision: https://phabricator.haskell.org/D4414 (cherry picked from commit d5ac5820)
Showing
- compiler/typecheck/TcTypeable.hs 2 additions, 3 deletionscompiler/typecheck/TcTypeable.hs
- testsuite/tests/typecheck/should_compile/T14811.hs 5 additions, 0 deletionstestsuite/tests/typecheck/should_compile/T14811.hs
- testsuite/tests/typecheck/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/typecheck/should_compile/all.T
Please register or sign in to comment