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] [Closed] (GROOVY-8629) Groovy STC fails on the nested method call in constructor call
Date Thu, 26 Jul 2018 04:39:10 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-8629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul King closed GROOVY-8629.
-----------------------------

> Groovy STC fails on the nested method call in constructor call
> --------------------------------------------------------------
>
>                 Key: GROOVY-8629
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8629
>             Project: Groovy
>          Issue Type: Bug
>          Components: Static Type Checker
>    Affects Versions: 2.5.0-rc-3, 2.5.0
>         Environment: I can reproduce from the command line with:
> groovy mapComparisonTest.groovy
> With Groovy 2.5.0 and Java 1.8.0_172 on macOS High Sierra.
>            Reporter: Sean Gilligan
>            Assignee: Daniel Sun
>            Priority: Major
>             Fix For: 2.6.0-alpha-4, 3.0.0-alpha-3, 2.5.1
>
>         Attachments: mapComparisonTest.groovy
>
>
> The error returns on line 22 of the attached file:
> return new IntegerPairIterator(unionKeys.iterator())
> Assigning to a temporary variable and returning on a second line OR removing @StaticCompile
will fix the problem.
> I thought this was related to GROOVY-8590 because it first occurred in Groovy 2.5.0-rc-3,
but it was not fixed in Groovy 2.5.0.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message