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 2002:a6b:1388:: with SMTP id 8-v6mr8547984iot.129.1525166231759; Tue, 01 May 2018 02:17:11 -0700 (PDT) X-Received: by 2002:a9d:445c:: with SMTP id f28-v6mr1210598otj.2.1525166231659; Tue, 01 May 2018 02:17:11 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!v8-v6no38605itc.0!news-out.google.com!b185-v6ni4524itb.0!nntp.google.com!k65-v6no2810702ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 1 May 2018 02:17:11 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2003:c7:83d7:a50b:f014:e894:b34c:b257; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 2003:c7:83d7:a50b:f014:e894:b34c:b257 References: <3b736ddf-0807-4781-a973-6164280faae7@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Finalization of library level tasks From: AdaMagica Injection-Date: Tue, 01 May 2018 09:17:11 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:51877 Date: 2018-05-01T02:17:11-07:00 List-Id: Am Montag, 30. April 2018 18:52:21 UTC+2 schrieb Jeffrey R. Carter: > On 04/30/2018 02:27 PM, AdaMagica wrote: > >=20 > > In short: If you look inside a class-wide object, you'll find inside an= object of a specific type within this class (as Randy said in a previous p= ost). What's the property of this specific object seen as a class-wide obje= ct that's not a property of the specific object? >=20 > About the only difference is that operations dispatch with a class-wide= =20 > parameter and don't with a parameter of a specific type. >=20 > Op (Parent'Class (X) ); >=20 > and >=20 > Op (X); >=20 > end up executing the same code. That Kazakov says they don't is probably = an=20 > indication that he, as he often does, is not talking about Ada. Of course he's not talking about current Ada, he's talking about an Ada as = he would like her to be as there is no Finalize'Class he would like to have= . But he is correct on this example you gave: With redispatch, OP(X) and OP(P= arent'Class(X)) are not the same. What I do not understand is the model he wants to have for Finalize'Class. = The idea is quite complicated because of Rosen's trick, redispatch etc. Dmi= try only posts some fragmentary ideas without ever giving a complete elabor= ation. So we, if we try to understand and argue with him, have to imagine a= nd guess what the hell he has in mind. As in this (incomplete) post of his: > Now this procedure: > procedure Finalize (X : in out T2); > if you pass T3 to it then You cannot directly pass an x of type T3 to this Finalize. You can make his= example work if you add quite some more code. His examples like this one, = if really current Ada (and not some wishful version), are rarely complete.