[J3] TBP can't be internal to the main program

Van Snyder van.snyder at sbcglobal.net
Fri Dec 5 00:43:54 UTC 2025


C769 in F18 says

The procedure-name shall be the name of an accessible module procedure
or an external procedure that has an explicit interface.

I'm sure there was discussion of this but I don't remember it from
twenty years ago.

Is there a compelling technical reason why it cannot be contained
within the same scoping unit where the type is defined? In particular,
not an internal procedure of the main program?

If not, can we add "or an internal procedure of the scoping unit where
the type is defined"? Of maybe even simplify it to "accessible
procedure that has an explicit interface"?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20251204/77a54882/attachment.htm>


More information about the J3 mailing list