James Daugherty created GROOVY-12437:
----------------------------------------

             Summary: Grovy 5 Incremental Compilation Issue
                 Key: GROOVY-12437
                 URL: https://issues.apache.org/jira/browse/GROOVY-12437
             Project: Groovy
          Issue Type: Bug
    Affects Versions: 5.0.0
            Reporter: James Daugherty


A statically compiled subclass fails to compile against a precompiled generic 
superclass when a ternary expression selects between two inherited generic map 
properties. Compiling the same sources together succeeds.

This was discovered during incremental compilation in a Grails application, but 
{*}the reproducer uses only the standalone Groovy compiler{*}. Gradle, Grails, 
application dependencies, compiler configuration scripts, and build caches are 
not involved.

 

Reproducer is here: 
[https://github.com/jdaugherty/groovy5-incrementa-compilation-issue] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to