Literally, you are correct, and the error message is misworded. However, this is an example of what I'm going to call for lack of a better term "modification context". Same applies to &foo($x[-1000]) or $x[-1000]->foo. That's what the error message is referring to.