Duplicate identifier ? (Generics)
Monkey Forums/Monkey Programming/Duplicate identifier ? (Generics)
| ||
Is there a reason why i get duplicate identifier error T1 with this piece of code ?Field AvailableOperations:IntMap<TestBase<Int, String>> <- Error. ... Class TestBase<T1, T2> Method New() End Method T1:Test1() End Method T2:Test2() End End Normally this should work.. TestBase<Int, String> is a valid type. |
| ||
shouldn't it be? test1:T1() test2:T2() ? |
| ||
Nevermind. Was my mistake.. Yeah exactly lol I am doing too much C# theses days. :) |