(j3.2006) (SC22WG5.4634) Issue with C1255 in Interop TS

John Reid John.Reid
Tue Mar 13 13:06:24 EDT 2012



N.M. Maclaren wrote:
> On Mar 13 2012, Malcolm Cohen wrote:
>>
>>> It appears to me to be a good idea to enforce interoperable
>>> type and type parameters for non-assumed-type dummy entities.
>>
>> Absolutely.
>
> The more I think about it, the more I agree. I think, however, that
> this is a reason NOT to constrain assumed-type more than strictly
> necessary.

We seem to be reaching consensus that along with my suggested change: 
Page 10, C1255, line 2, change "or" to
", a variable that has the ALLOCATABLE or POINTER attribute, a variable
of assumed shape, a variable of assumed type, a variable of assumed
character length, or".

we need to add these constraints:

C524a A coarray shall not be a dummy argument of a procedure that
has a <proc-language-binding-spec>.

C1255a A variable that not of assumed type and is a dummy argument of a 
procedure that has a <proc-language-binding-spec> shall be of 
interoperable type.

Cheers,

John.






More information about the J3 mailing list