RE: [sv-ec] RE: List of Mantis item for Monday June 29th Champions Meeting

From: <jonathan.bromley_at_.....>
Date: Sun Jun 21 2009 - 13:19:13 PDT
Shalom,

> > 6.22.2 clearly defines type equivalence of associative arrays, 
> > and this leads in turn to a clear definition of their 
> > assignment compatibility.
> 
> Where does it say that assignment compability of associative arrays 
> is defined by their type equivalence?

Oh, OK, I see the sensitivity.

> Even for other array types, assignment compatiblity does not require
> that the array types be equivalent, only that their element types be
> equivalent.

Well... you say "even for other array types", but I see that 
relaxation as applying very specifically to fixed/queue/dynamic 
arrays, and therefore NOT applying to associative arrays. 
I guess this sentence

  Associative arrays are assignment compatible only with
  associative arrays, as described in 7.10.9.

is not sufficiently specific; it would have been safer 
to have said

  Associative arrays are assignment compatible only with
  associative arrays of equivalent type.

I still don't really see what might lead one to infer
anything different, but I agree that there is somewhat
a mess of cross-references to imperfectly clear statements.
-- 
Jonathan Bromley



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Sun Jun 21 13:20:40 2009

This archive was generated by hypermail 2.1.8 : Sun Jun 21 2009 - 13:21:32 PDT