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=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,f857f366542cd8aa X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!33g2000vbe.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: Dispatch on the result still does not work? Date: Mon, 13 Jul 2009 14:47:59 -0700 (PDT) Organization: http://groups.google.com Message-ID: <71bb67c1-e641-4b11-a48d-ecfd90640a5b@33g2000vbe.googlegroups.com> References: <4a58dfcf$0$30232$9b4e6d93@newsspool1.arcor-online.net> <1rfyxeircfmy1.19a1j3vqyttbo$.dlg@40tude.net> <74j6m.69502$rO.69160@newsfe13.ams2> <1u2c96ysoamp2.1vn3copqwfld7$.dlg@40tude.net> <874fde27-bd71-4d8b-adad-072817790373@d34g2000vbm.googlegroups.com> NNTP-Posting-Host: 82.20.239.89 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1247521679 25672 127.0.0.1 (13 Jul 2009 21:47:59 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 13 Jul 2009 21:47:59 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 33g2000vbe.googlegroups.com; posting-host=82.20.239.89; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.19.2 (KHTML, like Gecko) Version/4.0.2 Safari/530.19,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7036 Date: 2009-07-13T14:47:59-07:00 List-Id: On Jul 13, 5:55=A0pm, Adam Beneschan wrote: > On Jul 12, 1:30=A0pm, sjw wrote: > > saying 'tag-indeterminate expression must have type "T"(RM 5.2 (6))' > > No, that's not a GNAT problem. =A0The RM paragraph, which GNAT was good > enough to tell you about, specifically says that a tag-indeterminate > expression must have type T in this case. =A0I kind of think that if a > GNAT error message refers to a specific RM passage, it's probably a > good idea to read that passage before assuming there's a GNAT > problem..... OK, mea culpa. However .. if I say P.S'(whatever) and the compiler tells me it's tag-indeterminate my first reaction is that it must be confused! If I hadn't been too taken with the symmetry I'd have realised that I should have written procedure Q is X : P.T'Class :=3D P.T'(P.Value); begin X :=3D P.T'Class (P.S'(P.Value)); (which (I think) is the 'dynamically tagged' alternative in 5.2(6) which wasn't mentioned by GNAT).