Pure procedure and intent(out) polymorphic pointer argument

We already have this in our TODO list after beta, but I just created a dedicated issue: Reference counted pointers · Issue #5382 · lfortran/lfortran · GitHub.

Here are past relevant discussions and proposals:

But I haven’t seen mentioned there that possibly the existing pointers in Fortran could be implemented like that. Definitely worth investigating!

1 Like