An interesting polymorphism behavior/mis-behavior?

In reply to dave_59:

Hi Dave,

Does the virtual method lookup not work for variant 2? Isn’t that deduced at compile/elab stage? In this case, the prototypes of all the functions are exactly the same.