Skip to content
  • Simon Peyton Jones's avatar
    Fix two bugs in caes-floating (fixes Trac #5453) · bd6f5de7
    Simon Peyton Jones authored
    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
    bd6f5de7