Community
Participate
Working Groups
This code currently does not compile: class Test { def test() { foo[|self.bar] } def foo(Bar bar) {} def foo(Baz baz) {} interface Bar { def void bar() } interface Baz { def void baz() } } The call "foo[|self.bar]" is ambiguous. However, since we only use the "bar" method from the "Bar" interface, there actually is no ambiguity. This would be useful for some (badly designed) APIs which have heavily overloaded callback methods like "addListener". But it seems pretty hard to do well, so feel free to "WONTFIX" this =)