From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.0 required=3.0 tests=BAYES_20,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:620a:6086:b0:773:f56a:426 with SMTP id dx6-20020a05620a608600b00773f56a0426mr61034qkb.14.1695338348474; Thu, 21 Sep 2023 16:19:08 -0700 (PDT) X-Received: by 2002:a05:6808:158c:b0:3a8:4611:5d13 with SMTP id t12-20020a056808158c00b003a846115d13mr3419377oiw.3.1695338348219; Thu, 21 Sep 2023 16:19:08 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 21 Sep 2023 16:19:07 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=159.250.202.227; posting-account=ShYTIAoAAABytvcS76ZrG9GdaV-nXYKy NNTP-Posting-Host: 159.250.202.227 References: <99e103fa-53c3-43b0-8a4f-686ca10424cdn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5ab7e1d5-1491-49c3-877d-32bb6e12b43an@googlegroups.com> Subject: Re: renaming as classwide type From: Simon Belmont Injection-Date: Thu, 21 Sep 2023 23:19:08 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:65690 List-Id: On Thursday, September 21, 2023 at 5:03:06=E2=80=AFPM UTC-4, G.B. wrote: > O does not denote an object of a class-wide type,=20 > I think. However, P'Class (o) does, so that renaming=20 > that would make r be of its declared type P'Class. That seems needlessly pedantic, considering that assignment is fine (o2 : P= 'Class :=3D o) as well as assigning it to an intermediate pointer (po : acc= ess P'Class :=3D o'Access; r : P'Class renames po.all)