gwt /
gwt /
ff610ee29d0ca0b6d00a69604022e594dab9194f The proposed fix will disambiguate setter overloads by ranking them according
to the 'cost' of conversion. Fewer arguments will be preferred over many
arguments (e.g. setValue(boolean) will be preferred over
setValue(boolean, boolean)). Within a group os setters with the same
number of arguments, Strings will be preferred over other primitive
types (boxed or not); and primitive types will be preferred over
non-primitive types. The fix also reduces the need of two passes
over the list of setters during disambiguation, now done in one pass.
Review at http://gwt-code-reviews.appspot.com/993801
Review by: rjrjr@google.com
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@9181 8db76d5a-ed1c-0410-87a9-c151d255dfc7
2 files changed