Hi all, 

        If no one is opposed to deprecating the weird feature, I'll modify
the two tests at the weekend(shouldCompile -> shouldNotCompile):

https://github.com/apache/groovy/blob/master/src/test/gls/scope/MultipleDefinitionOfSameVariableTest.groovy#L110

https://github.com/apache/groovy/blob/master/src/test/gls/scope/MultipleDefinitionOfSameVariableTest.groovy#L119


Cheers,
Daniel.Sun



--
View this message in context: 
http://groovy.329449.n5.nabble.com/About-declaring-the-field-and-property-with-same-name-tp5742010p5742072.html
Sent from the Groovy Dev mailing list archive at Nabble.com.

Reply via email to