Product(s) | Karo.Net Compiler |
---|
A function marked with the sl.attributes::constructor
attribute must not have any generic type parameters. This is due to the fact, when calling a constructor the type arguments get passed to the type and not the constructor.
[constructor] test<T> ||: void { // ^^^ Constructors cannot have any generic type parameters. }
Add these type parameters to the type definition-