Fix #22742
runtimeRepLevity_maybe was panicing unnecessarily; and the error printing code made use of the case when it should return Nothing rather than panicing. For some bizarre reason perf/compiler/T21839r shows a 10% bump in runtime peak-megagbytes-used, on a single architecture (alpine). See !9753 for commentary, but I'm going to accept it. Metric Increase: T21839r
parent
14b5982a
No related branches found
No related tags found
Pipeline #61864 passed
Stage: tool-lint
Stage: quick-build
Stage: full-build
Stage: packaging
Stage: testing
Showing
- compiler/GHC/Core/Type.hs 7 additions, 4 deletionscompiler/GHC/Core/Type.hs
- testsuite/tests/polykinds/T22742.hs 8 additions, 0 deletionstestsuite/tests/polykinds/T22742.hs
- testsuite/tests/polykinds/T22742.stderr 6 additions, 0 deletionstestsuite/tests/polykinds/T22742.stderr
- testsuite/tests/polykinds/all.T 1 addition, 0 deletionstestsuite/tests/polykinds/all.T
Loading
Please register or sign in to comment