Return-Path: X-Original-To: apmail-groovy-notifications-archive@minotaur.apache.org Delivered-To: apmail-groovy-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3FB1917E29 for ; Mon, 1 Jun 2015 13:05:19 +0000 (UTC) Received: (qmail 17971 invoked by uid 500); 1 Jun 2015 13:05:19 -0000 Delivered-To: apmail-groovy-notifications-archive@groovy.apache.org Received: (qmail 17946 invoked by uid 500); 1 Jun 2015 13:05:19 -0000 Mailing-List: contact notifications-help@groovy.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.incubator.apache.org Delivered-To: mailing list notifications@groovy.incubator.apache.org Received: (qmail 17937 invoked by uid 99); 1 Jun 2015 13:05:19 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jun 2015 13:05:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 99686181A34 for ; Mon, 1 Jun 2015 13:05:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.77 X-Spam-Level: * X-Spam-Status: No, score=1.77 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 3Nl3ImKmoF0j for ; Mon, 1 Jun 2015 13:05:18 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id B7E8143E3E for ; Mon, 1 Jun 2015 13:05:17 +0000 (UTC) Received: (qmail 17907 invoked by uid 99); 1 Jun 2015 13:05:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jun 2015 13:05:17 +0000 Date: Mon, 1 Jun 2015 13:05:17 +0000 (UTC) From: "Paul King (JIRA)" To: notifications@groovy.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (GROOVY-4255) BUG! exception in phase 'class generation' ... SpreadExpression should not be visited here MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GROOVY-4255?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King resolved GROOVY-4255. ------------------------------- Resolution: Fixed Fix Version/s: 2.5.0-beta-1 Assignee: Paul King Thanks for everyone involved in this issue. This was essentially solved as part of GROOVY-6212 but I tweaked the error = message a little for the case of trying to despread a map in case a spread-= map operator was intended. > BUG! exception in phase 'class generation' ... SpreadExpression should no= t be visited here > -------------------------------------------------------------------------= ----------------- > > Key: GROOVY-4255 > URL: https://issues.apache.org/jira/browse/GROOVY-4255 > Project: Groovy > Issue Type: Bug > Components: Compiler > Affects Versions: 1.7.3, 2.4.0-rc-1 > Reporter: Andr=C3=A9 > Assignee: Paul King > Fix For: 2.5.0-beta-1 > > Attachments: 4255_v18x.patch > > > this code produces the error: > println [*it.albumId.text().split(",")]​ > BUG! exception in phase 'class generation' in source unit 'Script1.groovy= ' SpreadExpression should not be visited here -- This message was sent by Atlassian JIRA (v6.3.4#6332)