When returning a class type (type[A]) from a function and using it as a dynamic base class, ty fails to preserve attribute type information in the subclass. The inherited attribute is recognized as ...