convert range bounds to integers in a way that avoids undefined behaviour

This commit is contained in:
David R. MacIver committed 2013-12-10 09:20:13 +00:00
1 parent 014b45b4a9
commit 5412f3f1c1
2 files changed
+15 -6

No files matched your search

+4
View File
@@ -722,3 +722,7 @@ keys
[][.]
1000000000000000000
null
map([1,2][0:.])
[-1, 1, 2, 3, 1000000000000000000]
[[1], [1], [1,2], [1,2], [1,2]]