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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1c7098170d1fe6a5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-13 10:21:17 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.huji.ac.il!not-for-mail From: "Ehud Lamm" Newsgroups: comp.lang.ada Subject: Re: Heterogenous_Array_Test: please explain error Date: Wed, 13 Jun 2001 20:10:53 +0300 Organization: The Hebrew University of Jerusalem Message-ID: <9g878p$cbe$1@news.huji.ac.il> References: <9g7uub$70u$1@news.huji.ac.il> NNTP-Posting-Host: di4-37.dialin.huji.ac.il X-Trace: news.huji.ac.il 992452698 12654 132.64.14.37 (13 Jun 2001 17:18:18 GMT) X-Complaints-To: abuse@news.huji.ac.il NNTP-Posting-Date: Wed, 13 Jun 2001 17:18:18 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Xref: archiver1.google.com comp.lang.ada:8670 Date: 2001-06-13T20:10:53+03:00 List-Id: > According to the LRM a qualified expression will do a subtype constraint check, > but in this case I'm pretty sure you are right. We are talking about 2 *derived* > types here, and the compiler is already *sure* its one of them, so its not a > matter of simple clarification. > In fact I was thinking to myself that this is one subtle issue where the LRM definitions are not easily understandable. Skiming the LRM on qualified expression I wasn't sure if this should work. This is one palce where I agree with decision not to use LRM references in compiler error messages... (contrary to my usuall stand on the LRM references issue). -- Ehud Lamm mslamm@mscc.huji.ac.il http://purl.oclc.org/NET/ehudlamm <== Me!