Fix get getIdFromTrivialExpr
This bug, discovered by Trac #15325, has been lurking since commit 1c9fd3f1 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Thu Dec 3 12:57:54 2015 +0000 Case-of-empty-alts is trivial (Trac #11155) I'd forgotttnen to modify getIdFromTrivialExpr when I modified exprIsTrivial. Easy to fix, though.
Showing
- compiler/coreSyn/CoreUtils.hs 14 additions, 8 deletionscompiler/coreSyn/CoreUtils.hs
- testsuite/tests/ghci/scripts/T15325.hs 11 additions, 0 deletionstestsuite/tests/ghci/scripts/T15325.hs
- testsuite/tests/ghci/scripts/T15325.script 2 additions, 0 deletionstestsuite/tests/ghci/scripts/T15325.script
- testsuite/tests/ghci/scripts/T15325.stderr 25 additions, 0 deletionstestsuite/tests/ghci/scripts/T15325.stderr
- testsuite/tests/ghci/scripts/all.T 1 addition, 0 deletionstestsuite/tests/ghci/scripts/all.T
Loading
Please register or sign in to comment