patch applied (packages/array): Improve the index checking for
array accesses; fixes #2120 #2669
Simon Marlow
marlowsd at gmail.com
Mon Jul 20 04:07:14 EDT 2009
On 19/07/2009 16:59, Ian Lynagh wrote:
> Sun Jul 19 08:29:31 PDT 2009 Ian Lynagh<igloo at earth.li>
> * Improve the index checking for array accesses; fixes #2120 #2669
> As well as checking that offset we are reading is actually inside the
> array, we now also check that it is "in range" as defined by the Ix
> instance. This fixes confusing behaviour (#2120) and improves some error
> messages (#2669).
Does the extra test get optimised away in the common case?
Cheers,
Simon
More information about the Cvs-libraries
mailing list