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=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no 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 08:41:22 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <9g7uub$70u$1@news.huji.ac.il> Subject: Re: Heterogenous_Array_Test: please explain error Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Wed, 13 Jun 2001 11:40:30 EDT Organization: http://www.newsranger.com Date: Wed, 13 Jun 2001 15:40:30 GMT Xref: archiver1.google.com comp.lang.ada:8665 Date: 2001-06-13T15:40:30+00:00 List-Id: In article <9g7uub$70u$1@news.huji.ac.il>, Ehud Lamm says... >In the example I posted as an answer to the original quation, I use a >conversion. A qualified expression doesn't compile (using Gnat 3.13) (And in >any case, I'd want the checks done if at all possible) 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. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com