patch applied (ghc): Fix Trac #783: improve short-cutting literals
in the type checker
Simon Peyton Jones
simonpj at microsoft.com
Fri Mar 7 07:34:02 EST 2008
Thu Mar 6 05:47:34 PST 2008 simonpj at microsoft.com
* Fix Trac #783: improve short-cutting literals in the type checker
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.
M ./compiler/typecheck/Inst.lhs -10 +11
More information about the Cvs-ghc
mailing list