Changeset [821961fc263e1b754fa58c8549aeb43f5f4821ed] 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...

Committed by Alexander Ljungberg

  • M Foundation/CPIndexSet.j
  • M Tests/Foundation/CPIndexSetTest.j
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins