Repository: groovy Updated Branches: refs/heads/master 6eeee3844 -> e1107a4dc
Fix "Make some methods of `AstSpecificationCompiler` compile static" Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/e1107a4d Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/e1107a4d Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/e1107a4d Branch: refs/heads/master Commit: e1107a4dceaa4fb61af178c331944954ffedca67 Parents: 6eeee38 Author: danielsun1106 <[email protected]> Authored: Tue Mar 20 23:09:21 2018 +0800 Committer: danielsun1106 <[email protected]> Committed: Tue Mar 20 23:09:21 2018 +0800 ---------------------------------------------------------------------- .../codehaus/groovy/ast/builder/AstSpecificationCompiler.groovy | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/groovy/blob/e1107a4d/src/main/groovy/org/codehaus/groovy/ast/builder/AstSpecificationCompiler.groovy ---------------------------------------------------------------------- diff --git a/src/main/groovy/org/codehaus/groovy/ast/builder/AstSpecificationCompiler.groovy b/src/main/groovy/org/codehaus/groovy/ast/builder/AstSpecificationCompiler.groovy index f445858..8e48980 100644 --- a/src/main/groovy/org/codehaus/groovy/ast/builder/AstSpecificationCompiler.groovy +++ b/src/main/groovy/org/codehaus/groovy/ast/builder/AstSpecificationCompiler.groovy @@ -110,7 +110,6 @@ class AstSpecificationCompiler implements GroovyInterceptable { /** * Creates the DSL compiler. */ - @CompileStatic AstSpecificationCompiler(@DelegatesTo(AstSpecificationCompiler) Closure spec) { spec.delegate = this spec() @@ -165,7 +164,6 @@ class AstSpecificationCompiler implements GroovyInterceptable { * @param constructorStatement * the type specific construction code that will be run */ - @CompileStatic private void captureAndCreateNode(String name, @DelegatesTo(AstSpecificationCompiler) Closure argBlock, Closure constructorStatement) { if (!argBlock) throw new IllegalArgumentException("nodes of type $name require arguments to be specified")
