Remove unreliable Core Lint empty case checks
Trac #13990 shows that the Core Lint checks for empty case are unreliable, and very hard to make reliable. The consensus (among simonpj, nomeata, and goldfire) seems to be that they should be removed altogether. Do that. Add test Reviewers: goldfire, bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie GHC Trac Issues: #13990 Differential Revision: https://phabricator.haskell.org/D4161
Showing
- compiler/coreSyn/CoreLint.hs 38 additions, 19 deletionscompiler/coreSyn/CoreLint.hs
- testsuite/tests/simplCore/should_compile/T13990.hs 14 additions, 0 deletionstestsuite/tests/simplCore/should_compile/T13990.hs
- testsuite/tests/simplCore/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/simplCore/should_compile/all.T
Loading
Please register or sign in to comment