Thomas, in fact it would be really nice if GWT.create() would not
require literals, we wanted to use a template method throughout our
framework to allow to declare the classes to instantiate, maybe you
can provide the issue number so we can vote for it :-)

> > But after a month I discovered that the compiler does not like it at
> > all (it complains that GWT.create must be called only using class
> > literals... could be nice if it could find that MY helper is called
> > with only using  literals...
>
> It's been requested several types in the past (including by people
> that now work at Google on GWT) but I guess it's either low priority
> or it would require too much re-work of the compiler's internals.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to