Revision: 6154 Author: [email protected] Date: Thu Sep 17 08:08:34 2009 Log: Pass the SourceInfo of the mainType instead of null to JReboundEntryPoint when the binding isn't immediately known. Prevents an AssertionError when using the -manual flag.
Patch by: jlabanca Review by: scottb http://code.google.com/p/google-web-toolkit/source/detail?r=6154 Modified: /trunk/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java ======================================= --- /trunk/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java Mon Aug 31 14:02:51 2009 +++ /trunk/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java Thu Sep 17 08:08:34 2009 @@ -794,8 +794,8 @@ if (resultTypes.size() == 1) { block.addStmt(entryCalls.get(0).makeStatement()); } else { - JReboundEntryPoint reboundEntryPoint = new JReboundEntryPoint(null, - mainType, resultTypes, entryCalls); + JReboundEntryPoint reboundEntryPoint = new JReboundEntryPoint( + mainType.getSourceInfo(), mainType, resultTypes, entryCalls); block.addStmt(reboundEntryPoint); } } --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
