comp.lang.ada
 help / color / mirror / Atom feed
From: Bob Wells #402 <wel@EUROCONTROL.DE>
Subject: Re: cross linking packages
Date: Tue, 6 Dec 1994 17:34:39 +0100
Date: 1994-12-06T17:34:39+01:00	[thread overview]
Message-ID: <9412061634.AA26398@eurocontrol.de> (raw)

Robert Dewar <dewar@CS.NYU.EDU> writes

> Matt a brief answer to your question is that order of elaboration of
> types is critical, and in particular if package a with's package b,
> it is essential that the spec of b be elaborated before the spec of a.
> Remember that elaboration of types in Ada can have all sorts of side
> effects.

Not to mention the obvious extension of this where the body of b must be
elaborated before the spec of a if the spec of a contains declarations of
initialised variables or constants whose values are set by functions
declared in the spec of b. I guess this would also be try for named
numbers aswell.

Bob W.



             reply	other threads:[~1994-12-06 16:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-12-06 16:34 Bob Wells #402 [this message]
  -- strict thread matches above, loose matches on Subject: below --
1994-11-28 12:56 cross linking packages Rene Burema
1994-11-29 18:28 ` Norman H. Cohen
1994-11-29 22:07 ` Robert Dewar
1994-11-30 16:33   ` David Weller
1994-12-01 13:44     ` Robert I. Eachus
1994-11-30 23:03   ` Matt Kennel
1994-12-02 14:30     ` Norman H. Cohen
1994-12-05 13:30 ` John Volan
replies disabled

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