Merge pull request #239 from DRMacIver/overflows

Avoid undefined behaviour with large array indices
This commit is contained in:
Stephen Dolan committed 2013-12-12 16:38:14 -08:00
commit f147b7fae5
4 files changed
+41 -10

No files matched your search

+8
View File
@@ -722,3 +722,11 @@ map(has(2))
keys
[42,3,35]
[0,1,2]
[][.]
1000000000000000000
null
map([1,2][0:.])
[-1, 1, 2, 3, 1000000000000000000]
[[1], [1], [1,2], [1,2], [1,2]]