[cvs-nhc98] patch applied (hat): Hack to fix large literal Int patterns. Previously, a pattern known to

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:28:48 EDT 2006


Mon Sep  6 02:51:56 PDT 2004  malcolm
  * Hack to fix large literal Int patterns.  Previously, a pattern known to
  be a literal of type Int was bytecoded as a 16-bit quantity.  Bad idea.
  Now, we use a 16-bit value only if the value fits, otherwise we retain
  the application of fromInteger to the full representation.  So finally,
  the testcase nofib/real/anna gives the right result!

    M ./src/compiler98/FixSyntax.hs -1 +2


More information about the Cvs-nhc98 mailing list