See this playground.
Why on line 18 has obj already resolved as Foo, which causes it to then be of type never on line nineteen? It
obj
Foo
never