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,d58fe1ff04da7fd7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-14 13:02:41 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.rdc1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Ambiguous reference - What is wrong with this? References: <9lbf8n$brf$1@nh.pace.co.uk> X-Newsreader: Tom's custom newsreader Message-ID: Date: Tue, 14 Aug 2001 20:02:37 GMT NNTP-Posting-Host: 24.7.82.199 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.sfba.home.com 997819357 24.7.82.199 (Tue, 14 Aug 2001 13:02:37 PDT) NNTP-Posting-Date: Tue, 14 Aug 2001 13:02:37 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:11936 Date: 2001-08-14T20:02:37+00:00 List-Id: I think the problem occurs back at package Root.Child1 is type Derive1 is new Base with private ; inherits procedure Some_Proc ( Object : in out Derive1; -- was Base Object2 : in out Base'Class) ; and then you declare another procedure, with a different second parameter, procedure Some_Proc ( Object : in out Derive1; Object2 : in out Derive1'Class) ; now which is Root.Child1.Some_Proc ( Object => Root.Child1.Derive1 (Object), Object2 => Object2) ; -- in Derive1'Class and Base'Class supposed to be calling?