comp.lang.ada
 help / color / mirror / Atom feed
From: "James A. Squire" <m193884@CSEHP3.MDC.COM>
Subject: Re: Subprogram Renaming
Date: 1996/04/12
Date: 1996-04-12T00:00:00+00:00	[thread overview]
Message-ID: <316E70B7.63DD@csehp3.mdc.com> (raw)
In-Reply-To: md5:3CC2294B6049DDBD8790280EABCEDE81

On Wed, 10 Apr 1996 23:42:36 GMT, Robert A Duff <bobduff@WORLD.STD.COM>
wrote:

> In article <316BC3D6.14E7@csehp3.mdc.com>,
> James A. Squire <m193884@CSEHP3.MDC.COM> wrote:
> >Oh, wait a minute.  "Type conformance" refers to the base types then?
> >Then, "Subtype conformance" refers to the actual parameter types being
> >used?  If that's not it, then I must say I am _really_ confused.  If
> >that _is_ it, then as far as I can tell, that describes perfectly what
> >renaming requires in Ada83, so I must disagree with your last statement.
>
> Not sure what you're asking.  Type conformance refers to types of
> parameters, subtype conformance refers to subtypes of parameters.

When you say subtype and then later type, I don't know which one refers
to the text that I see between the "[in] [out]" and the ";".  That's
what I'm asking.  I assume that this text in between the mode field and
the ";" is considered the subtype, right?  Therefore, subtype
conformance means that the actual type names explicitly used in the
profiles must be exactly the same, right?  Then type conformance simply
means that the base types that these subtypes were derived from must be
the same, right?

> Type conformance is less strict that subtype conformance -- that is, if X and
> Y are subtype conformant, then they are also type conformant, but not
> the other way around.

That's the _only_ thing that _was_ clear from the LRM.
--
James Squire
MDA Avionics Tools & Processes
ja_squire@csehp3.mdc.com
"one of these days I'm going to better myself by going to Knight school"
"You'll be a web knight instead of a web page!"




       reply	other threads:[~1996-04-12  0:00 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <md5:3CC2294B6049DDBD8790280EABCEDE81>
1996-04-12  0:00 ` James A. Squire [this message]
     [not found] <md5:87494FB95037B9578F62831DE10B6BB3>
1996-04-10  0:00 ` Subprogram Renaming James A. Squire
     [not found] <md5:88A5E8822105A2023A0A951BB5EC646E>
1996-04-10  0:00 ` James A. Squire
     [not found] <md5:95D854EBD1A47E0E86027A3CC7DBD9A4>
1996-04-10  0:00 ` johndoe
1996-04-10  0:00 ` James A. Squire
1996-04-10  0:00   ` Robert A Duff
1996-04-11  0:00     ` Adam Beneschan
1996-04-11  0:00       ` Robert Dewar
1996-04-11  0:00       ` Robert A Duff
1996-04-10  0:00   ` Robert Dewar
1996-04-11  0:00     ` Jonas Nygren
1996-04-11  0:00       ` Robert Dewar
1996-04-12  0:00         ` Jonas Nygren
     [not found] <md5:FE4AB546A8392541EDC1E3FE12E3D8AF>
1996-04-09  0:00 ` James A. Squire
1996-04-09  0:00   ` Robert Dewar
1996-04-10  0:00   ` Robert A Duff
1996-04-11  0:00   ` Mark A Biggar
1996-04-10  0:00 ` johndoe
1996-04-10  0:00   ` Norman H. Cohen
1996-04-11  0:00     ` Norman H. Cohen
1996-04-12  0:00       ` Jonas Nygren
1996-04-12  0:00         ` Norman H. Cohen
1996-04-13  0:00           ` Robert A Duff
1996-04-15  0:00             ` Norman H. Cohen
     [not found] <md5:046A59600C3FEFC327385C3E914D6997>
1996-04-08  0:00 ` James A. Squire
1996-04-08  0:00   ` Robert Dewar
1996-04-09  0:00     ` Gary McKee
1996-04-09  0:00   ` Robert A Duff
     [not found] <md5:C24D8C2EE138D9627FB8B93E2E35D9F3>
1996-04-05  0:00 ` James A. Squire
1996-04-06  0:00   ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox