From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: How to test object hierarchy
Date: Sun, 21 Dec 2003 04:34:47 +0000 (UTC)
Date: 2003-12-21T04:34:47+00:00 [thread overview]
Message-ID: <bs37t7$7ka$3@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: bs1ah5$8g5ll$2@ID-77047.news.uni-berlin.de
Dmitry A. Kazakov <mailbox@dmitry-kazakov.de> wrote:
:
:> should "with type" be mentioned in this context?
:
: Interesting, why do you thing it should?
I'm not really familiar with "with type", but I thought (guessed)
that the OP's procedure could be distributed across pairs of two,
each procedure taking one top level class-wide parameter and
a derived type parameter. If I have
package D is
type Root is tagged private;
type Derived_1 is new Root with private;
procedure Op_1(d: Derived_1; other: Derived_2'Class);
-- too early
procedure Op_1(d: Derived_2; other: Derived_2'Class);
-- too early, too early
type Derived_2 is new Root with private;
procedure Op_2(d: Derived_2; other: Derived_1'Class);
procedure Op_2(d: Derived_1; other: Derived_1'Class);
-- too late
...
Will "with type" and package reorganisation help?
-- Georg
next prev parent reply other threads:[~2003-12-21 4:34 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-18 18:24 How to test object hierarchy Pierre Favier
2003-12-19 0:15 ` Stephen Leake
2003-12-19 7:45 ` Pierre Favier
2003-12-19 10:53 ` Dmitry A. Kazakov
2003-12-19 14:35 ` Hyman Rosen
2003-12-19 17:07 ` Dmitry A. Kazakov
2003-12-19 23:26 ` Robert A Duff
2003-12-20 18:20 ` Robert I. Eachus
2003-12-19 17:25 ` Georg Bauhaus
2003-12-20 11:13 ` Dmitry A. Kazakov
2003-12-21 4:34 ` Georg Bauhaus [this message]
2003-12-21 13:43 ` Dmitry A. Kazakov
2003-12-21 19:58 ` Dmytry Lavrov
2003-12-22 1:19 ` Robert I. Eachus
2003-12-22 10:09 ` Dmitry A. Kazakov
2003-12-22 17:33 ` Robert I. Eachus
2003-12-23 10:49 ` Dmitry A. Kazakov
2003-12-22 10:05 ` Dmitry A. Kazakov
2003-12-19 17:24 ` Nick Roberts
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox