[GitHub] groovy pull request #437: GROOVY-7958: Incorrect parsing of comma-separated ...
Github user asfgit closed the pull request at: https://github.com/apache/groovy/pull/437 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] groovy pull request #437: GROOVY-7958: Incorrect parsing of comma-separated ...
Github user paulk-asert commented on a diff in the pull request: https://github.com/apache/groovy/pull/437#discussion_r82088116 --- Diff: src/test/groovy/bugs/Groovy7958Bug.groovy --- @@ -0,0 +1,31 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + *http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package groovy.bugs + +class Groovy7958Bug extends GroovyTestCase { +void testCoomaSepVariableDeclarationAfterIf() { --- End diff -- fixed --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] groovy pull request #437: GROOVY-7958: Incorrect parsing of comma-separated ...
GitHub user paulk-asert opened a pull request: https://github.com/apache/groovy/pull/437 GROOVY-7958: Incorrect parsing of comma-separated variable declaratio⦠â¦n as single statement after if/while/for You can merge this pull request into a Git repository by running: $ git pull https://github.com/paulk-asert/groovy groovy7958 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/groovy/pull/437.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #437 commit baca8ea46a7d02b26832fcb58ba0b1e4ecdd620b Author: paulkDate: 2016-10-05T08:05:43Z GROOVY-7958: Incorrect parsing of comma-separated variable declaration as single statement after if/while/for --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---