Apologies if this has already been covered with the other polymorphic feature discussions.
Is the subject line supported in 11.1? If not, is it supported in the next (Novemberish) major release?
For example, the following dies at runtime using 11.1.067 with /check:all /warn:all with a "pointer ITEM ... not associated" error. But I think the code is legitimate.
PROGRAM a_classy_assignment IMPLICIT NONE TYPE :: parent INTEGER :: comp END TYPE parent TYPE wrapper CLASS(parent), ALLOCATABLE :: item END TYPE wrapper TYPE(wrapper) :: a TYPE(wrapper) :: b !*** ALLOCATE(parent:: a%item) a%item%comp = 123 b = a PRINT "(I0)", a%item%comp ! 123 PRINT "(I0)", b%item%comp ! Boom. END PROGRAM a_classy_assignment