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,6c62a09d5c4609c9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-21 00:10:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!newsfeed.sovam.com!news.kiev.sovam.com!Svitonline.COM!not-for-mail From: Maxim Reznik Newsgroups: comp.lang.ada Subject: Re: ambiguous names Date: Wed, 21 Aug 2002 10:05:26 +0300 Organization: Svit Online (post does not reflect views of Golden Telecom) Message-ID: <3D633BB6.8050402@mbank.com.ua> References: <3D62572C.60309@mbank.com.ua> NNTP-Posting-Host: 212.109.37.91 Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.kiev.sovam.com 1029913834 27297 212.109.37.91 (21 Aug 2002 07:10:34 GMT) X-Complaints-To: abuse@svitonline.com NNTP-Posting-Date: 21 Aug 2002 07:10:34 GMT User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc3) Gecko/20020523 X-Accept-Language: en-us, en Xref: archiver1.google.com comp.lang.ada:28273 Date: 2002-08-21T07:10:34+00:00 List-Id: David C. Hoos wrote: > The inner A hides the outer A within the scope of the inner A. > Thus, there is no ambiguity. > ----- Original Message ----- > Subject: ambiguous names > >>Trying to understand paragraph 4.1.3.13 of ARM: >> [skip] Thank you! Now I see my mistake. And right example of such ambiguous is procedure A(C : Integer) is B : Boolean; X : Integer; procedure A is B : Integer; begin X := A.B; -- ambiguous ! end A; begin null; end A; Now GNAT points to ambiguous prefix. Max