[flang] Carry polymoprhic dynamic type when using coordinate_of polymoprhic array
Dynamic type of a polymorphic array element was retrieved by finding the coordinate operation and use the base array. This patch remove this hack and use the newly PolymorphicValue to carray the dynamic type together with the element. The patch also rearrange some tests in the `allocatable-polymorphic.f90`. Depends on D136824 Reviewed By: PeteSteinfeld Differential Revision: https://reviews.llvm.org/D136857
parent
dd1b7b79
Please register or sign in to comment