You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2021/09/26 21:56:00 UTC

[jira] [Created] (GROOVY-10263) STC: refactor to reduce duplication in StaticTypeCheckingSupport

Eric Milles created GROOVY-10263:
------------------------------------

             Summary: STC: refactor to reduce duplication in StaticTypeCheckingSupport
                 Key: GROOVY-10263
                 URL: https://issues.apache.org/jira/browse/GROOVY-10263
             Project: Groovy
          Issue Type: Bug
            Reporter: Eric Milles


{{org.codehaus.groovy.transform.stc.StaticTypeCheckingSupport#isAssignableTo(ClassNode, ClassNode)}} and {{org.codehaus.groovy.transform.stc.StaticTypeCheckingSupport.checkCompatibleAssignmentTypes(ClassNode, ClassNode)}} perform very similar checks.  Refactor to reduce or eliminate the duplication between the two.  Possibly one is replaced by the other.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)