super{} doesn't use block
super{}
super(){}, super{} and super(&b) doesn't use the given block so warn unused block warning when calling a method which doesn't use block with above super expressions.
super(){}
super(&b)
super
e.g.: def f = super{B1} (warn on f{B2} because B2 is not used.
def f = super{B1}
f{B2}
B2
super{}doesn't use blocksuper(){},super{}andsuper(&b)doesn't use the givenblock so warn unused block warning when calling a method which
doesn't use block with above
superexpressions.e.g.:
def f = super{B1}(warn onf{B2}becauseB2is not used.