Details
-
Test
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
1.9.0-beta-4-SNAPSHOT
-
Patch
Description
The code try to set the modifier to "public static" but
ACC_PUBLIC & ACC_STATIC
means NOTHING:
public void testFieldExpression() { // public static String foo = "a value" def result = new AstBuilder().buildFromSpec { field { fieldNode "foo", ACC_PUBLIC & ACC_STATIC, String, this.class, { constant "a value" } } }