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-Thread: 103376,3a7c118fd2cc64f9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!news.mv.net!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: A hole in Ada type safety Date: Tue, 03 May 2011 12:57:38 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <87oc3odtci.fsf@mid.deneb.enyo.de> <87tydfbtp3.fsf@mid.deneb.enyo.de> <87d3k2u36e.fsf@mid.deneb.enyo.de> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1304441858 22692 192.74.137.71 (3 May 2011 16:57:38 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Tue, 3 May 2011 16:57:38 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:fh0EP88YibmdEbedOYOrNrSY3QQ= Xref: g2news2.google.com comp.lang.ada:20118 Date: 2011-05-03T12:57:38-04:00 List-Id: "Randy Brukardt" writes: > It's not a real problem in practice because the use of constrained > discriminated types is pretty rare. And passing an actual parameter to a procedure that can see that actual as a global is also pretty rare. - Bob