Community
Participate
Working Groups
If a higher-order function is overloaded like this : def foo (Function1<String,Boolean predicate) { } def foo(Predicate<String> predicate) { // the one from guava } It's not clear which one to invoke for the following expression: foo( e | true ) The expression should therefore be marked as errorneous suggesting adding an explicit cast. We could alternatively consider to have a higher precedence for Xbase's function types. Java8 might be a good source for deciding this.
Merged into master.
Requested via bug 522520. -M.