Can't modify splice in scalar assignment