--override works for simple properties with no side effects like iter, ls_iter etc. It does not work for properties with side effects like is_sparse. Overriding these fields cause subtle bugs that can be hard to trace.
For now, let's change the behavior of the override flag to throw an exception for fields with side effects.
--overrideworks for simple properties with no side effects likeiter,ls_iteretc. It does not work for properties with side effects likeis_sparse. Overriding these fields cause subtle bugs that can be hard to trace.For now, let's change the behavior of the override flag to throw an exception for fields with side effects.