comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: better way?
Date: Fri, 22 Dec 2000 07:08:45 GMT
Date: 2000-12-22T07:08:45+00:00	[thread overview]
Message-ID: <16D06.22140$A06.845242@news1.frmt1.sfba.home.com> (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?



             reply	other threads:[~2000-12-22  7:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-22  7:08 tmoran [this message]
2000-12-23  3:12 ` better way? Robert Dewar
2000-12-27  9:00 ` mark_lundquist
2001-01-03  5:00 ` Nick Roberts
2001-01-05 18:46   ` tmoran
replies disabled

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