[J3] Question on dummy CLASS(*) pointer arguments
Vipul Parekh
parekhvs at gmail.com
Wed Nov 29 18:14:04 UTC 2023
On Wed, Nov 29, 2023 at 1:02 PM Brad Richardson via J3 <
j3 at mailman.j3-fortran.org> wrote:
> .. assigning to the target could change the dynamic type. ..
>
How? `intent(in)` disallows the received argument `x` being in any pointer
association context.
But then `x` as polymorphic can only be in any definition context within a
`SELECT TYPE` guard that should prevent the dynamic type to be changed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20231129/2b87e924/attachment.htm>
More information about the J3
mailing list