That's because of the sequence. If you would store the objects in two separate sequences for _Console_ and _ViewportConsole_ instead, you would get the expected result. Apparently, _var consoles: seq[Console]_ sets the runtime type of the elements to **exactly** _Console_.
- Bug with generic methods? 10c8
- Re: Bug with generic methods? Lando
- Re: Bug with generic methods? 10c8
- Re: Bug with generic methods? Lando
- Re: Bug with generic methods? def
- Re: Bug with generic methods? Lando
- Re: Bug with generic methods? Udiknedormin
- Re: Bug with generic methods? def
- Re: Bug with generic methods? Lando
- Re: Bug with generic methods? def
- Re: Bug with generic methods? Lando
- Re: Bug with generic methods? Udiknedormin