Cpr: Turn an assertion into a check to deal with some dead code (#23862)
See the new `Note [Dead code may contain type confusions]`. Fixes #23862.
Showing
- compiler/GHC/Core/Opt/CprAnal.hs 40 additions, 3 deletionscompiler/GHC/Core/Opt/CprAnal.hs
- testsuite/tests/cpranal/should_compile/T23862.hs 19 additions, 0 deletionstestsuite/tests/cpranal/should_compile/T23862.hs
- testsuite/tests/cpranal/should_compile/T23862.stderr 18 additions, 0 deletionstestsuite/tests/cpranal/should_compile/T23862.stderr
- testsuite/tests/cpranal/should_compile/all.T 2 additions, 0 deletionstestsuite/tests/cpranal/should_compile/all.T
Loading
Please register or sign in to comment