Community
Participate
Working Groups
Build Identifier: 20110916-0149 It would be cool if Xtend 2 could display an error marker if I've got two methods which really should be a dispatch method, but where the dispatch keyword was accidentally left out (same name and same signature except for the first parameter, classes of the first parameter have a common superclass - something like that?) Reproducible: Always
There are reasons to overload methods like in Java (i.e. static dispatch). We could imply the dispatch for all overloaded method if we would think differently. Note that we have a warning if you have dispatch on some but not all of the overloaded methods.
I think a quickassist 'make dispatch' would be nice but I doubt that an error-marker or a warning would do any good.