Issue 10326 - Change old `invariant` usage to error

http://d.puremagic.com/issues/show_bug.cgi?id=10326