comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: When is a rename not a rename?
Date: Sat, 2 Feb 2013 09:11:01 -0800 (PST)
Date: 2013-02-02T09:11:01-08:00	[thread overview]
Message-ID: <4daac118-adf3-4db5-8115-dd5a5c9c9f28@googlegroups.com> (raw)
In-Reply-To: <wccsj5ehjwm.fsf@shell01.TheWorld.com>

On Saturday, February 2, 2013 8:26:01 AM UTC-6, Robert A Duff wrote:
> 
> A similar example:  Suppose we have:
> 
>     X : constant T := Some_Package.X;
> 
> And suppose both X's are potentially use-visible at some
> place.  You might want to be able to refer to X.  (Currently,
> the X's hide each other, and I doubt that's going to change.)

Shouldn't the compiler complain of ambiguity and force a fully-qualified referral in that case? (Though you could 'promote' one's visibility to 'default' via renames in the current compilation-unit's context.)



  reply	other threads:[~2013-02-02 17:11 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-29  1:24 When is a rename not a rename? Adam Beneschan
2013-01-30  0:28 ` Randy Brukardt
2013-01-30  0:52   ` Adam Beneschan
2013-01-30  9:31     ` Dmitry A. Kazakov
2013-01-30 14:35       ` ytomino
2013-02-01 10:44 ` Ada novice
2013-02-01 11:27   ` Dmitry A. Kazakov
2013-02-01 17:32     ` Adam Beneschan
2013-02-01 18:31       ` ytomino
2013-02-02  1:40         ` Adam Beneschan
2013-02-02 12:24           ` ytomino
2013-02-02 14:26           ` Robert A Duff
2013-02-02 17:11             ` Shark8 [this message]
2013-02-02  0:42       ` Brian Drummond
2013-02-02 11:43         ` AdaMagica
2013-02-03 11:50           ` Brian Drummond
2013-02-03 12:16             ` AdaMagica
2013-02-05  9:53       ` Ada novice
2013-02-01 17:48     ` Ada novice
replies disabled

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