KingCode (43) [Avatar] Offline
#1
Congratulations for an extremely well-written book and a smooth learning curve.

I read with interest the <<magic variable 'owner' in closure>> thread, but have another question with regards to the second last paragraph of page 144, specifically to the statement:

"and as we said, this refers to the closure, not to the declaring object..."

contradicts the previous page and its footnote (probably for the same reason explained in the quoted thread) - so perhaps this needs to be clarified or corrected?

Thanks!

KC
Mittie (397) [Avatar] Offline
#2
Re: 'this': Another clarification sought for 5.5.2
adapted http://groovy.canoo.com/errata/erratum/show/5

thanks for the feedback
Dierk