Open Sam7 opened 11 years ago
Are generics supported now in ScriptSharp?
Well, more like "yes and no." :-) Yes, you can use standard container generics like List
See, eg, http://stackoverflow.com/questions/8883339/using-generics-with-script.
I don't know enough about the compiler to know why it silently fails. It seems to have something to do with the member generic. If I take your example and change the member to just 'public T Action' I get a (admittedly vague) 'unsupported feature' error.
Trying to compile this code With ScriptSharp silently fails: