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-Thread: a07f3367d7,8b6340ddbfdcd2d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!f13g2000vbm.googlegroups.com!not-for-mail From: AdaMagica Newsgroups: comp.lang.ada Subject: Re: Code Statement Date: Wed, 19 May 2010 03:20:45 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <8242a424-5b09-4444-a3ed-7b45e159c46a@z17g2000vbd.googlegroups.com> NNTP-Posting-Host: 80.156.44.178 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1274264445 11592 127.0.0.1 (19 May 2010 10:20:45 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 19 May 2010 10:20:45 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f13g2000vbm.googlegroups.com; posting-host=80.156.44.178; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW64; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:11758 Date: 2010-05-19T03:20:45-07:00 List-Id: On 19 Mai, 11:56, sjw wrote: > On May 19, 7:07=A0am, Simon Wright wrote: > > > I'm not sure whathttp://www.adaic.com/standards/05rm/html/RM-13-8.html > > (2) means; does it give you a licence to use any type you lke? seems > > unlikely. > > Sorry, I meant (4): "The qualified_expression is expected to be of any > type." This is a Name Resolution Rule used for overload resolution. As far as overloading is concernded, any type can do. > Compare with (5): "The qualified_expression shall be of a type > declared in package System.Machine_Code." This is a Legality Rule and applied only after overload resolution. So this is where code becomes illegal when other types are used.