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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d35129bfe20357c8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-29 23:27:57 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.uncensored-news.com!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!news.cesnet.cz!crax.cesnet.cz!news.felk.cvut.cz!not-for-mail From: "Sergey Koshcheyev" Newsgroups: comp.lang.ada Subject: Re: Re[2]: Limited Type Access - Again Date: Tue, 30 Oct 2001 08:07:47 +0100 Organization: Czech Technical University Message-ID: <9rljk7$1a5r$1@ns.felk.cvut.cz> References: NNTP-Posting-Host: n56.dkm.cz X-Trace: ns.felk.cvut.cz 1004425671 43195 62.24.79.56 (30 Oct 2001 07:07:51 GMT) X-Complaints-To: usenet@ns.felk.cvut.cz NNTP-Posting-Date: Tue, 30 Oct 2001 07:07:51 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:15395 Date: 2001-10-30T08:07:47+01:00 List-Id: wrote in message news:mailman.1004394165.6249.comp.lang.ada@ada.eu.org... > If equality and assignment are allowed in this case, then it is the back door > for comparing and assigning objects of limited type such as task type and > projected type. I think this door should be locked. In addition, comparing or > assignment two objects of a task type does not make sense. In fact, the language > prohibits two objects of a limited type from being compared or assigned. This is > the reason why equality and assignment of a limited type are prohibited. But you don't compare and assign *objects* in your example, you compare and assign *pointers* to those objects. Why should the latter not be allowed? Sergey Koshcheyev.