<p><span class="h-card" translate="no"><a href="https://mastodon.social/@dabeaz" class="u-url mention">@<span>dabeaz</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@tintvrtkovic" class="u-url mention">@<span>tintvrtkovic</span></a></span> What would you expect to happen if you specify the type as foo, but call methods that only the subclass bar got? object is the base of everything, so why should it be handled differently?</p>