puppetlabs/puppet — pull request #2160 by hlindberg (2013-12-15 23:55:30+00:00)
Title: (PUP-864) Add deprecation warning for mutation of array/hash

This adds a deprecation warning to operations that mutates array
and hash - i.e. $a = [1,2,4] $a[3] = 5, and equivalent for hash.

The warning message has a URL that leads to PUP-864.
Existing tests that test that mutation is possible now also checks
that a warning is issued.