From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3ac1d8bc704e79f7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-11 00:31:19 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: petter.fryklund.konsult@dynamics.saab.se (Petter Fryklund) Newsgroups: comp.lang.ada Subject: Re: Dispatching problem. Date: 11 Feb 2003 00:31:18 -0800 Organization: http://groups.google.com/ Message-ID: References: NNTP-Posting-Host: 138.14.239.132 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1044952279 26173 127.0.0.1 (11 Feb 2003 08:31:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 11 Feb 2003 08:31:19 GMT Xref: archiver1.google.com comp.lang.ada:33981 Date: 2003-02-11T08:31:19+00:00 List-Id: > package A is > type Msg is abstract tagged null record; > procedure Y (X : in out Msg) is abstract; > > type M1 is new Msg with ...; > procedure Y (X : in out Msg); > > type M2 is new Msg with ...; > procedure Y (X : in out Msg); > end A; > > with A; > package B is > type M1 is new A.M1 with ...; > procedure Y (X : in out M1); > > type M2 is new A.M2 with ...; > procedure Y (X : in out M2); > end B; > > BTW, the package B looks superfluos, as it possibly is, if you are > saying that A.Mi = B.Mi. > > --- > Regards, > Dmitry Kazakov > www.dmitry-kazakov.de ur. We forgot to redesign, we just thought of what we already had. We're changing A to just containing type definitions, since it's needed in several other places and B to holds the oo stuff. Thx, Petter