3 Jun 2008 7:07 AM #1
[FIXED] AppEvent(int, Data) ambiguous with AppEvent(int, String) when Data is String
I mistakenly deleted this post from andrey.
This problem was introduced with beta4:
When you declare AppEvent as follows:
new AppEvent<String>(AppEvents.Init, "foo")
you get a compiler error that this is ambiguous with the new AppEvent(int, String) constructor (this second ctor takes a history token as the second param). This forces me to create an intermediary class to wrap the String as a work-around.