I'm trying to derive my class from generic class:
class foo<T> {}
class bar : foo<Int> {}
But this code fails to compile with en error:
Classes derived from generic classes must also be generic
How to avoid this limitation? Is it possible?
See Question&Answers more detail:os