Repository: groovy
Updated Branches:
  refs/heads/master 2f6894a8f -> 21e0148d0


Refine the test for "Forbidden using command chain expression in array 
initializer to avoid ambiguities"


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

Branch: refs/heads/master
Commit: 30b810cd40308f440290341b55e9cb6585288a46
Parents: 2f6894a
Author: Daniel Sun <[email protected]>
Authored: Sat Aug 18 16:00:58 2018 +0800
Committer: Daniel Sun <[email protected]>
Committed: Sat Aug 18 16:00:58 2018 +0800

----------------------------------------------------------------------
 .../src/test/resources/fail/CommandExpression_01x.groovy          | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/30b810cd/subprojects/parser-antlr4/src/test/resources/fail/CommandExpression_01x.groovy
----------------------------------------------------------------------
diff --git 
a/subprojects/parser-antlr4/src/test/resources/fail/CommandExpression_01x.groovy
 
b/subprojects/parser-antlr4/src/test/resources/fail/CommandExpression_01x.groovy
index c97b45a..3c47bb3 100644
--- 
a/subprojects/parser-antlr4/src/test/resources/fail/CommandExpression_01x.groovy
+++ 
b/subprojects/parser-antlr4/src/test/resources/fail/CommandExpression_01x.groovy
@@ -17,4 +17,5 @@
  *  under the License.
  */
 
-new int[] { a b, c, d }
\ No newline at end of file
+def a(b, c, d) { 1 }
+new int[] { a b, c, d }

Reply via email to