SteveSanderson/knockout — comment on commit b0bcba0e11ce4c739decd3c9af7ac4e4d80f4b6b
File: src/utils.js line 48
By Bunk:

This change broke some of my previously working code. We call ko.utils.arrayRemoveItem() passing in the ko.observableArray as an argument.

In this case, arrayIndexOf returns -1 for an item that used to return a real index causing the arrayRemoveItem to fail.

Was this expected behavior? I've modified my functions that utilize this to pass in the underlying observableArray and call valueHasMutated() directly on the observableArray afterwards.