gwt /
gwt /
942d3d6b2c683e4b2afb6e8f554bce9df4eda223 Fixes JsDuplicateFunctionRemover to be more robust.
Any JsNameRef JsName that is *not* the immediate LHS of a JsInvocation is blacklisted, and therefore, cannot be replaced nor replace another ref. For example, defineSeed(ctor1, ctor2) would stop ctor1 or ctor2 from being considered, and so would ctor1.prototype = ... .
It looks like JsNameOf nodes can refer to functions as well, so these are blacklisted too.
http://gwt-code-reviews.appspot.com/169801
Patch by: cromwellian
Review by: me
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@7701 8db76d5a-ed1c-0410-87a9-c151d255dfc7
2 files changed