Casting a class multiple levels - possible?

In reply to dave_59:

why $cast will fail when child handler d2 pointing parent b1