Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1.3
-
None
Description
In groovy-2.1.3/src/main/org/codehaus/groovy/control/customizers/builder/SourceAwareCustomizerFactory.java, I found following error:
omizers/builder% diff -p SourceAwareCustomizerFactory.java SourceAwareCustomizerFactory.java~ *** SourceAwareCustomizerFactory.java 2013-05-02 13:44:59.000000000 +0900 --- SourceAwareCustomizerFactory.java~ 2013-04-12 15:01:58.000000000 +0900 *************** import java.util.Map; *** 55,61 **** * } * * // apply CompileStatic AST annotation on files whose name is 'foo' or 'bar' ! * builder.source(basenameValidator: { it in ['foo', 'bar'] }) { * ast(CompileStatic) * } * --- 55,61 ---- * } * * // apply CompileStatic AST annotation on files whose name is 'foo' or 'bar' ! * builder.source(basenames: { it in ['foo', 'bar'] }) { * ast(CompileStatic) * } *
Following document has the same error and other errors, i fixed.
http://docs.codehaus.org/display/GROOVY/Advanced+compiler+configuration