[J3] Interp: Finalization order for complex objects
Ondřej Čertík
ondrej at certik.us
Thu Feb 27 12:06:18 EST 2020
On Wed, Feb 26, 2020, at 10:38 PM, Ondřej Čertík via J3 wrote:
> Hi,
>
> We have a question for interpretation at:
> https://github.com/j3-fortran/fortran_proposals/issues/146. To
> summarize, the following code makes two compilers to print
>
> 1. "CABP" or "CBAP" (both valid)
>
> but a third compiler prints
>
> 2. "CBPA".
>
> Which is the correct answer, 1. or 2.?
Per our discussion at plenary, it seems both 1. and 2. are correct answers, per the standard, as amended by 20-117 that just got passed by J3.
Is that correct?
Thanks,
Ondrej
More information about the J3
mailing list