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 2018/03/14 15:14:30 UTC

[jira] [Created] (GROOVY-8509) SC: error for call to protected method from same package

Eric Milles created GROOVY-8509:
-----------------------------------

             Summary: SC: error for call to protected method from same package
                 Key: GROOVY-8509
                 URL: https://issues.apache.org/jira/browse/GROOVY-8509
             Project: Groovy
          Issue Type: Bug
    Affects Versions: 2.6.0-alpha-3
            Reporter: Eric Milles


Groovy 2.6 is producing compilation errors for @CompileStatic test class calling a protected method of class under test (in same package).  This should be allowed as protected is "package-private" plus subtypes.



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