Simon Peyton Jones pushed to branch wip/T26548 at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • compiler/GHC/Core/Reduction.hs
    ... ... @@ -94,7 +94,7 @@ but in fact `reductionOriginalType` is very seldom used, so it's not worth it.
    94 94
     -- See Note [The Reduction type].
    
    95 95
     data Reduction =
    
    96 96
       Reduction
    
    97
    -    { reductionCoercion    :: Coercion
    
    97
    +    { reductionCoercion    :: !Coercion
    
    98 98
         , reductionReducedType :: !Type
    
    99 99
         }
    
    100 100
     -- N.B. the 'Coercion' field must be lazy: see for instance GHC.Tc.Solver.Rewrite.rewrite_tyvar2