Ensure noname scope does not leak after assignment