Skip to content
  • Simon Peyton Jones's avatar
    Fix Trac #783: improve short-cutting literals in the type checker · 0a8ad35f
    Simon Peyton Jones authored
    The Inst.shortCutIntLit mechanism in the type checker was missing cases
    where a floating-point literal was given without an explicit decimal point.
    
    As a result, programs with lots of floating-point literals (without decimals)
    ended up with massive Static Reference Tables.  This is not cool.  See
    comments with Trac #783 for details.
    
    0a8ad35f