GROOVY-10592: STC: add error for indirect static interface method access
authorEric Milles <eric.milles@thomsonreuters.com>
Mon, 25 Apr 2022 15:16:21 +0000 (10:16 -0500)
committerEric Milles <eric.milles@thomsonreuters.com>
Mon, 25 Apr 2022 15:16:21 +0000 (10:16 -0500)
commit8fa6d43a6515e7ddfc419f259d247254ddbd72c2
tree87c47257ed73f9bb6de40b3a3a548161b921b6fb
parent4964a5e104109ca2cdab785f1bb4bbe36c84bb1f
GROOVY-10592: STC: add error for indirect static interface method access

  interface I {
    static m() {}
  }
  I.m() // qualifier required
src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java
src/test/groovy/bugs/Groovy8579.groovy