Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.11
Description
Hi, guys:
I got NPE when I wrote the following codes:
Groovy Script
trait T { def x = 'abc' } import groovy.transform.TupleConstructor @TupleConstructor(includeFields = true) class A implements T { def a private b } assert 'ABC' == new A().x.toUpperCase()
I found that it will works well if I remove (includefields = true).