It's a behaviour inherited from MATLAB, and will probably be removed at some point.