Description
trait T { abstract def foo(int i) def bar(double j) { println "bar $j" } } interface F extends T {} F t = { println "closure $it" } t.foo(42) // `closure 42` t.bar(43) // `closure 43.0`; should be `bar 43.0`
Changing variable type to T works as expected.