On Jul 8, 8:03 am, pohl <[email protected]> wrote: > > Essentially, I couldn't get the GWT compiler to work with a service > > with the following definition: > > > public interface DispatchService extends RemoteService { > > <A extends Action<R>, R extends Result> R execute( A action ) > > throws Exception; > > > } > > I tried to do the same thing, inspired by Ray Ryan's talk at Google I/ > O. > > Did you file an issue to track this defect? In my opinion, the > Javascript compiler should do the right thing if it can. > > Perhaps this is the same as Issue 2374? > > http://code.google.com/p/google-web-toolkit/issues/detail?id=2374
Yeah, that looks like the same issue. That said, it probably wouldn't change the design too much if the bug wasn't there - there are some other reasons to have DispatchAsync as a separate class anyway, including but not limited making it easier to inject via Ginjector. David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
