(j3.2006) Comment concerning TEAM_TYPE
Tue Oct 8 21:08:26 EDT 2013
(a) C492 is not meant to be talking about ancestor components, that is C491.
Looks like C492 is poorly worded!
(b) the ancestor component is default-initialised: read 220.127.116.11p8.
End of story.
From: Van Snyder
Date: ?? 25?10?9? 9:34
To: fortran standards email list for J3
Subject: Re: (j3.2006) Comment concerning TEAM_TYPE
On Wed, 2013-10-09 at 09:15 +0900, Malcolm Cohen wrote:
> type,extends(team_type) :: team_kludge
> end type
> type(team_kludge),parameter :: kludge = team_kludge()
A <component-spec> shall be provided for a nonallocatable
component unless it has default initialization or is inheritance
associated with a subcomponent of another component for which a
<component-spec> is provided.
I don't see how C492 allows this. The ancestor component is
nonallocatable and does not have default initialization. It is
inheritance associated, but, since no <component-spec> appears at all,
the ancestor component cannot be associated with a subcomponent of it.
Is there something I'm missing here?
J3 mailing list
J3 at mailman.j3-fortran.org
This e-mail has been scanned for all viruses by Star.
................................Malcolm Cohen, Nihon NAG, Tokyo.
More information about the J3