groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [1/2] incubator-groovy git commit: GROOVY-7453: CompileStatic annotation should not support package target
Date Thu, 04 Jun 2015 00:50:45 GMT
Repository: incubator-groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 6da982557 -> 43a3e4969


GROOVY-7453: CompileStatic annotation should not support package target


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/43a3e496
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/43a3e496
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/43a3e496

Branch: refs/heads/GROOVY_2_4_X
Commit: 43a3e4969cd801d17ff641c5efb8d2559be4a3fe
Parents: c1c88a5
Author: Paul King <paulk@asert.com.au>
Authored: Thu Jun 4 10:21:15 2015 +1000
Committer: Paul King <paulk@asert.com.au>
Committed: Thu Jun 4 10:25:21 2015 +1000

----------------------------------------------------------------------
 src/main/groovy/transform/CompileStatic.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/43a3e496/src/main/groovy/transform/CompileStatic.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/transform/CompileStatic.java b/src/main/groovy/transform/CompileStatic.java
index a35e840..2f68f96 100644
--- a/src/main/groovy/transform/CompileStatic.java
+++ b/src/main/groovy/transform/CompileStatic.java
@@ -44,8 +44,7 @@ import java.lang.annotation.*;
 @Documented
 @Retention(RetentionPolicy.SOURCE)
 @Target({   ElementType.METHOD,         ElementType.TYPE,
-            ElementType.CONSTRUCTOR,    ElementType.FIELD,
-            ElementType.LOCAL_VARIABLE, ElementType.PACKAGE
+            ElementType.CONSTRUCTOR
 })
 @GroovyASTTransformationClass("org.codehaus.groovy.transform.sc.StaticCompileTransformation")
 public @interface CompileStatic {


Mime
View raw message