groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GROOVY-4255) BUG! exception in phase 'class generation' ... SpreadExpression should not be visited here
Date Mon, 01 Jun 2015 13:05:17 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-4255?page=com.atlassian.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 not 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é
>            Assignee: Paul King
>             Fix For: 2.5.0-beta-1
>
>         Attachments: 4255_v18x.patch
>
>
> this code produces the error:
> println [*it.albumId.text().split(",")]&#8203;
> 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)

Mime
View raw message