[ https://issues.apache.org/jira/browse/GROOVY-11694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun resolved GROOVY-11694. --------------------------------- Fix Version/s: 5.0.0-beta-2 Resolution: Fixed > SC: implicit-this call to static method of super class from another package > --------------------------------------------------------------------------- > > Key: GROOVY-11694 > URL: https://issues.apache.org/jira/browse/GROOVY-11694 > Project: Groovy > Issue Type: Bug > Components: Static compilation > Affects Versions: 5.0.0-beta-1 > Reporter: Eric Milles > Assignee: Eric Milles > Priority: Major > Fix For: 5.0.0-beta-2 > > > Consider the following: > {code:groovy} > package p > abstract class A { > protected static pm() { > } > } > {code} > {code:groovy} > package q > @groovy.transform.CompileStatic > class C extends p.A { > void test() { > pm() > } > } > {code} > Compiler emits error: "Cannot access method: pm() of class: p.A" -- This message was sent by Atlassian Jira (v8.20.10#820010)