Changeset [821961fc263e1b754fa58c8549aeb43f5f4821ed] by Alexander Ljungberg
Revision 821961fc263e1b754fa58c8549aeb43f5f4821ed,
committed by Alexander Ljungberg
· January 15th, 2013 @ 06:08 AM
Argument check CPIndexSet indexSetWithIndex:.
Without this check, an index set could be initialised with NaN which would later lead to an infinite loop when enumerating the index set.
This error makes the error early and explicit.
https://github.com/cappuccino/cappuccino/commit/821961fc263e1b754fa...
2 changed files
-
M
Foundation/CPIndexSet.j -
M
Tests/Foundation/CPIndexSetTest.j