Properly trim IdInfos of DFunIds and PatSyns in TidyPgm
Not doing this right caused #16608. We now properly trim IdInfos of DFunIds and PatSyns. Some further refactoring done by SPJ. Two regression tests T16608_1 and T16608_2 added. Fixes #16608
Showing
- compiler/basicTypes/PatSyn.hs 3 additions, 3 deletionscompiler/basicTypes/PatSyn.hs
- compiler/coreSyn/CoreTidy.hs 1 addition, 1 deletioncompiler/coreSyn/CoreTidy.hs
- compiler/main/TidyPgm.hs 108 additions, 124 deletionscompiler/main/TidyPgm.hs
- compiler/typecheck/TcRnDriver.hs 3 additions, 2 deletionscompiler/typecheck/TcRnDriver.hs
- compiler/types/InstEnv.hs 3 additions, 3 deletionscompiler/types/InstEnv.hs
- testsuite/tests/driver/T16608/Makefile 17 additions, 0 deletionstestsuite/tests/driver/T16608/Makefile
- testsuite/tests/driver/T16608/MyInteger.hs 12 additions, 0 deletionstestsuite/tests/driver/T16608/MyInteger.hs
- testsuite/tests/driver/T16608/T16608_1.hs 11 additions, 0 deletionstestsuite/tests/driver/T16608/T16608_1.hs
- testsuite/tests/driver/T16608/T16608_1.stdout 7 additions, 0 deletionstestsuite/tests/driver/T16608/T16608_1.stdout
- testsuite/tests/driver/T16608/T16608_2.hs 10 additions, 0 deletionstestsuite/tests/driver/T16608/T16608_2.hs
- testsuite/tests/driver/T16608/T16608_2.stdout 7 additions, 0 deletionstestsuite/tests/driver/T16608/T16608_2.stdout
- testsuite/tests/driver/T16608/all.T 2 additions, 0 deletionstestsuite/tests/driver/T16608/all.T
Loading
Please register or sign in to comment