Description
Notes from Greg Barr:
> Caught: fancy.groovy: 8: could not use '=' at 5:37; left-hand-side of
> assignment must be modifiable
> ... stack trace ...
> putAt works fine, but I was just curious why using 'this' produced the
> error above.
>
> class FancyExpando extends Expando {
> FancyExpando(args)
> update(args)
{ > //for (e in args) putAt(e.key, e.value) // works fine > for (e in args) this[e.key] = e.value // error using 'this' > }> String toString()
{ dump() }> }