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_.

Reply via email to