comp.lang.ada
 help / color / mirror / Atom feed
* better way?
@ 2000-12-22  7:08 tmoran
  2000-12-23  3:12 ` Robert Dewar
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: tmoran @ 2000-12-22  7:08 UTC (permalink / raw)


I'd like to do something like:
  package Outer is

    type Inner_A_Thing_Type;
    type Inner_B_Thing_Type;

    package Inner_A is
      type Thing_Type is ...
      procedre P(X : access Inner_B_Thing_Type);
    end Inner_A;
    subtype Inner_A_Thing_Type is Inner_A.Thing_Type;

    package Inner_B is
      type Thing_Type is ...
      procedre Q(X : access Inner_A_Thing_Type);
    end Inner_B;
    subtype Inner_B_Thing_Type is Inner_B.Thing_Type;
    ...
  end Outer;

but the "subtype" instead of "type" prevents it.  Suggestions?



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-01-05 18:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-22  7:08 better way? tmoran
2000-12-23  3:12 ` Robert Dewar
2000-12-27  9:00 ` mark_lundquist
2001-01-03  5:00 ` Nick Roberts
2001-01-05 18:46   ` tmoran

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