Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1-rc-2
-
None
Description
Currently, protected fields (accessed within a constructor?) don't access the appropriate parent fields:
class Base { protected aField = 'Frodo' } class Client extends Base { protected aField = super.aField + ' Baggins' def foo() { println "aField : ${aField}" } } new Client().foo() // => aField : null Baggins