[ 
https://issues.apache.org/jira/browse/GROOVY-12592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18140674#comment-18140674
 ] 

ASF GitHub Bot commented on GROOVY-12592:
-----------------------------------------

testlens-app[bot] commented on PR #3118:
URL: https://github.com/apache/groovy/pull/3118#issuecomment-6720244022

   ## 🚨 Jobs failed without executing tests 🚨
   
   ### Failed Jobs without Test Failures
   
   ❌ [Build and test / lts \(17, 
ubuntu-latest\)](https://github.com/apache/groovy/actions/runs/42470466662/job/128699780749?pr=3118)
   ❌ [Build and test / lts \(21, 
ubuntu-latest\)](https://github.com/apache/groovy/actions/runs/42470466662/job/128699780638?pr=3118)
   ❌ [Build and test / lts \(25, 
ubuntu-latest\)](https://github.com/apache/groovy/actions/runs/42470466662/job/128699780662?pr=3118)
   ❌ [Build and test for coverage / 
test](https://github.com/apache/groovy/actions/runs/42470466686/job/128699780560?pr=3118)
   ❌ [Check licenses / test 
\(ubuntu-latest\)](https://github.com/apache/groovy/actions/runs/42470466740/job/128699781073?pr=3118)
   ❌ [Generate SNAPSHOT artifacts / 
dist](https://github.com/apache/groovy/actions/runs/42470466720/job/128699780918?pr=3118)
   ❌ [Lint gate / 
lint](https://github.com/apache/groovy/actions/runs/42470466692/job/128699780610?pr=3118)
   ❌ [Native Image Metadata Check / 
native-check](https://github.com/apache/groovy/actions/runs/42470466652/job/128699780361?pr=3118)
   ❌ [Performance check / 
test](https://github.com/apache/groovy/actions/runs/42470466639/job/128699780535?pr=3118)
   ❌ [jmh / test \(core-hz, 
\\\\.perf\\\\.[H-Z]\)](https://github.com/apache/groovy/actions/runs/42470466693/job/128699780582?pr=3118)
   ❌ [jmh / test \(grails-ad, 
\\\\.perf\\\\.grails\\\\.[A-D]\)](https://github.com/apache/groovy/actions/runs/42470466693/job/128699780865?pr=3118)
   ❌ [jmh-classic / test \(bench, 
\\\\.bench\\\\.\)](https://github.com/apache/groovy/actions/runs/42470466672/job/128699780592?pr=3118)
   ❌ [jmh-classic / test \(core-ag, 
\\\\.perf\\\\.[A-G]\)](https://github.com/apache/groovy/actions/runs/42470466672/job/128699780621?pr=3118)
   ❌ [jmh-classic / test \(grails-ad, 
\\\\.perf\\\\.grails\\\\.[A-D]\)](https://github.com/apache/groovy/actions/runs/42470466672/job/128699780471?pr=3118)
   
   🏷️ Commit: 1b6cb83fca36198595a0d67b0fa1372ec04bdd45
   ▶️ Tests:  0 executed
   🟡 Checks: 16/25 completed
   
   ### Rerun Controls
   
   Click the checkbox to trigger a rerun:
   
   🔲 **Rerun jobs**
   
   ---
   _Learn more about TestLens at 
[testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   




> Outer.super.name() and super.name() in a closure skip the method the class 
> inherits
> -----------------------------------------------------------------------------------
>
>                 Key: GROOVY-12592
>                 URL: https://issues.apache.org/jira/browse/GROOVY-12592
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 4.0.33, 5.0.8, 6.0.0
>            Reporter: Scott Murphy Heiberg
>            Priority: Major
>
> {code:groovy}
> class Base { String m() { 'base' } }
> class Root extends Base { String m() { 'root' } }
> class Outer extends Root {
>     class Inner { String test() { Outer.super.m() } }
>     String viaClosure() { def c = { -> super.m() }; c() }
> }
> def o = new Outer()
> assert new Outer.Inner(o).test() == 'root'
> assert o.viaClosure() == 'root'
> {code}
> Actual: both calls return 'base'.
> Expected: both return 'root', the method Outer inherits from Root, as a super 
> call in a method of Outer does.
> A super call from a nested class or a closure does not create a super$ MOP 
> method in Outer. MetaClassImpl then takes the super$ MOP method of Root, 
> which calls Root's super method, Base.m, so Root's override is skipped. The 
> closure form is the same in 4.0.33; Outer.super is not supported there.
> PR: https://github.com/apache/groovy/pull/3118



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to