groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcin ZajÄ…czkowski <>
Subject Get reference to super method call
Date Thu, 14 Sep 2017 12:15:19 GMT

I would like to be able to keep as a method closure a reference to a
call of a method in a super class. I tried:

Closure sc = super.&myMethod

however, I always calls a method from a current class.

Should that work or there is some other syntax to achieve that?

Tested with Groovy 2.4.10 and 2.4.12.


-- - Working code is not enough

View raw message