Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
user avatar
Ian Lynagh authored
Changeset bd6f5de7
Author: Simon Peyton Jones <simonpj@microsoft.com>

Fix two bugs in caes-floating (fixes Trac #5453)

The problem is documented in the ticket. The patch
does two things

1. Make exprOkForSpeculation return False for a non-exhaustive case

2. In SetLevels?.lvlExpr, look at the *result* scrutinee, not the
    *input* scrutinee, when testing for evaluated-ness
acd157f7
History
Name Last commit Last update