http://gwt-code-reviews.appspot.com/669801/diff/20001/21006
File dev/core/src/com/google/gwt/dev/jjs/impl/JsFunctionClusterer.java
(right):

http://gwt-code-reviews.appspot.com/669801/diff/20001/21006#newcode62
dev/core/src/com/google/gwt/dev/jjs/impl/JsFunctionClusterer.java:62: if
(code.startsWith("function ")) {
Lex, could you point me the relevant code?

I didn't see any declaration of the second form in the JavaScript
output. As I explained in my previous comment, this regex was causing
JsFunctionClusterer to emit duplicate code.

http://gwt-code-reviews.appspot.com/669801/diff/20001/21006#newcode92
dev/core/src/com/google/gwt/dev/jjs/impl/JsFunctionClusterer.java:92:
for (int functionIndex : functionIndices) {
Thanks. :-)

http://gwt-code-reviews.appspot.com/669801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to