From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Unchecked_Deallocation with tagged types Date: Wed, 21 Apr 2021 15:28:04 +0200 Organization: Adalog Message-ID: References: <607b56f8$0$3721$426a34cc@news.free.fr> <607bf826$0$3733$426a74cc@news.free.fr> <86im4hj6eh.fsf@stephe-leake.org> <827fce15-8277-4ec8-a627-01158b42a191n@googlegroups.com> <4205785c-6818-4e26-b931-5a775e2c426cn@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 21 Apr 2021 13:28:04 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="51c73389aff842bafa477a3cf4e114be"; logging-data="709"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/iRwK+6QMu8DGxVWSNu8t1" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 Cancel-Lock: sha1:4iaToS9ZlaHrJO2t84fZLSSUMkM= In-Reply-To: <4205785c-6818-4e26-b931-5a775e2c426cn@googlegroups.com> Content-Language: fr Xref: reader02.eternal-september.org comp.lang.ada:61885 List-Id: Le 21/04/2021 à 12:21, Vincent Marciante a écrit : > But that idiom pretty much prohibits "using" more than one package with such naming: > > use Queues, Lists; > > Queue : Handle; --\ Both > List : Handle; --/ ambiguous > I would not agree with "prohibits". You may still use qualified notation in the scope of a "use" clause, so yes, you have to write: Queue : Queues.Handle; List : Lists.Handle; which is not worse that having: Queue : Queues_Handle; List : Lists_Handle; -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52 https://www.adalog.fr