relax unused block warning for duck typing
if a method foo uses a block, other (unrelated) method foo can receives a block. So try to relax the unused block warning condition.
foo
class C0 def f = yield end class C1 < C0 def f = nil end [C0, C1].f{ block } # do not warn
relax unused block warning for duck typing
if a method
foouses a block, other (unrelated) methodfoocan receives a block. So try to relax the unused block warning
condition.