comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Ambiguous reference - What is wrong with this?
Date: Tue, 14 Aug 2001 20:02:37 GMT
Date: 2001-08-14T20:02:37+00:00	[thread overview]
Message-ID: <xtfe7.1336$Wm3.1010586@news1.rdc1.sfba.home.com> (raw)
In-Reply-To: 9lbf8n$brf$1@nh.pace.co.uk

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?



  parent reply	other threads:[~2001-08-14 20:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-14 15:14 Ambiguous reference - What is wrong with this? Marin David Condic
2001-08-14 16:56 ` Warren W. Gay VE3WWG
2001-08-14 17:45   ` Warren W. Gay VE3WWG
2001-08-14 17:54   ` Marin David Condic
2001-08-14 19:24     ` Warren W. Gay VE3WWG
2001-08-14 17:44 ` Sergey Koshcheyev
2001-08-14 20:10   ` Marin David Condic
2001-08-15  7:38     ` Sergey Koshcheyev
2001-08-15 13:49       ` Marin David Condic
2001-08-14 20:02 ` tmoran [this message]
2001-08-15  6:17   ` Simon Wright
2001-08-17 16:34     ` Marin David Condic
replies disabled

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