You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2015/06/01 15:05:17 UTC

[jira] [Resolved] (GROOVY-4255) BUG! exception in phase 'class generation' ... SpreadExpression should not be visited here

     [ 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)