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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1ea19776e3073a96 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: C/C++ programmer giving Ada95 a chance -- writing an emulator. Date: 2000/04/02 Message-ID: <8c673t$qa0$1@nnrp1.deja.com>#1/1 X-Deja-AN: 605470891 References: <38E3DBD7.27F5B246@acenet.com.au> <2YSE4.251$sy6.25957@news.pacbell.net> <38E44CC7.4206E027@acenet.com.au> <38E621C2.87B64ED9@averstar.com> X-Http-Proxy: 1.0 x22.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Sun Apr 02 01:17:57 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-04-02T00:00:00+00:00 List-Id: In article <38E621C2.87B64ED9@averstar.com>, Tucker Taft wrote: > > What is going on here? > > It look like the assigments throw away the tag (like Cohen > > says it should) but the initializer keeps the tag. > > That would be a bug. The tag is *not* determined by the > initial value if the target type is "specific" (as opposed to > classwide). The tag *is* determined by the initial value if > the target type is classwide. I certainly agree, and so, for all the examples I tried, does GNAT, so I am not exactly sure what program Geoff is running here! Part of the trouble is that if you don't have the exact complete text, there can be confusion. Sent via Deja.com http://www.deja.com/ Before you buy.