Hi,

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
sc()

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.

Marcin

-- 
http://blog.solidsoft.info/ - Working code is not enough

Reply via email to