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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.36.121.142 with SMTP id z136mr4698614itc.36.1510241805946; Thu, 09 Nov 2017 07:36:45 -0800 (PST) X-Received: by 10.157.14.201 with SMTP id 67mr247765otj.4.1510241805843; Thu, 09 Nov 2017 07:36:45 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.mixmin.net!border2.nntp.ams1.giganews.com!nntp.giganews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!186no494975itu.0!news-out.google.com!x87ni1011ita.0!nntp.google.com!l196no489814itl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 9 Nov 2017 07:36:45 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2003:c7:83c6:b000:e052:61fc:5a53:d240; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 2003:c7:83c6:b000:e052:61fc:5a53:d240 References: <6a5368c5-f015-4dcb-9291-e77b40fa1bf1@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <39330489-ec8b-481f-bcff-a5b7d1a2d8e3@googlegroups.com> Subject: Re: some trivial questions? From: AdaMagica Injection-Date: Thu, 09 Nov 2017 15:36:45 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 1862 X-Received-Body-CRC: 3090984008 Xref: feeder.eternal-september.org comp.lang.ada:48781 Date: 2017-11-09T07:36:45-08:00 List-Id: Am Donnerstag, 9. November 2017 09:49:40 UTC+1 schrieb Dmitry A. Kazakov: > >> Yes. E.g. what if nested package instantiation would not imply "with"? > >> Should the similar [flawed] logic apply here as to "use"? > > > > I don't understand those questions. > > package Foo is new Bar; > use Foo; -- That must be illegal > > Now the "right" way: > > package Foo is new Bar; > with Foo; -- For the sake of "showing dependencies" > use Foo; -- That's right! But that's weird. declare package P is ... end P; with P; -- You really want this? Bah! use P;