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,60e2922351e0e780 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-16 07:00:18 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!irazu.switch.ch!switch.ch!news.hispeed.ch!not-for-mail From: Gautier Write-only Newsgroups: comp.lang.ada Subject: Re: Clause "with and use" Date: Sun, 16 Nov 2003 15:59:57 +0100 Organization: Cablecom Newsserver Message-ID: <3FB790ED.AE992406@fakeaddress.nil> References: <3FB1609E.D56E315C@fakeaddress.nil> <3FB65716.85E1F775@fakeaddress.nil> <1IKdnYIxfIidWSui4p2dnA@comcast.com> NNTP-Posting-Host: dclient217-162-142-125.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newshispeed.ch 1068994813 27510 217.162.142.125 (16 Nov 2003 15:00:13 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Sun, 16 Nov 2003 15:00:13 +0000 (UTC) X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:2544 Date: 2003-11-16T15:59:57+01:00 List-Id: > Robert I. Eachus wrote: > > Wow! That was fast, my code sample was only up for a short time and at > > least two bug reports resulted. I used to say that I had two modes of > > writing Ada, in one I expected to write tens of thousands of lines > > between compiler bug reports. In the language lawyer mode, if I didn't > > generate one bug report per every twenty lines or so, I was slacking. Wes Groleau: > However, it wasn't your sample that found the bug. > > You posted > > package body Outer is > use Inner; > > He changed it to > > use Outer.Inner; > package body Outer is Thank you for the precision. I'm curious to know who's right on the changed example: GNAT or ObjectAda ? GNAT compiles, OA says: outer.adb: Error: line 1 col 6 LRM:4.1(3), Direct name, Outer, is not visible, Ignoring future references ________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!