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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8a7b744efabb21c4 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 27 Jun 2008 09:11:57 +0200 From: Georg Bauhaus Reply-To: rm.tsoh+bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Out parameters and unconstrained variant types References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <486492c0$0$27448$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 27 Jun 2008 09:12:00 CEST NNTP-Posting-Host: 44204c3b.newsspool4.arcor-online.net X-Trace: DXC=`2mBIN1c[b4QbA1[CgMQ004IUK\BH3Y2Ef5dV6KblQ4A:ho7QcPOV3:f_3gOT2[L:ImZJ88DU5V7 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:904 Date: 2008-06-27T09:12:00+02:00 List-Id: Gene wrote: > ALRM 2005 and Barnes seem to say the procedure Do_Something will know > that rtn in foo is unconstrained and allow both calls to succeed. You can express your expectations in the program by adding pragma Assert(not rtn'Constrained); -- Georg