Disallow array index and object property updates in blocks.