[
https://issues.apache.org/jira/browse/GROOVY-8629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16501146#comment-16501146
]
Daniel Sun commented on GROOVY-8629:
------------------------------------
[~msgilligan] Paul is on holiday these days. We have to wait him back to
release 2.5.1 ;)
> 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)