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,cc4f25d878383cc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-10 12:37:08 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!wn3feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!rwcrnsc51.POSTED!not-for-mail From: "Mark Lundquist" Newsgroups: comp.lang.ada References: <11bf7180.0112070815.2625851b@posting.google.com> <9v0crt$bo2bi$1@ID-25716.news.dfncis.de> <3C14EF19.76C85864@sparc01.ftw.rsc.raytheon.com> <3C151381.245413EB@sparc01.ftw.rsc.raytheon.com> Subject: Re: Dimensionality Checking (Ada 20XX) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: NNTP-Posting-Host: e19R7-127156-wL4-66625@rwcrnsc51 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc51 1008016627 e19R7-127156-wL4-66625@rwcrnsc51 (Mon, 10 Dec 2001 20:37:07 GMT) NNTP-Posting-Date: Mon, 10 Dec 2001 20:37:07 GMT Organization: AT&T Broadband Date: Mon, 10 Dec 2001 20:37:07 GMT Xref: archiver1.google.com comp.lang.ada:17710 Date: 2001-12-10T20:37:07+00:00 List-Id: "Wes Groleau" wrote in message news:3C151381.245413EB@sparc01.ftw.rsc.raytheon.com... > > > Mark Lundquist wrote: > > But the compiler only has to look at the generic *spec* to determine this. > > What you *never* see today, and what we'd really like to avoid in any > > language revision, is this: you make a change to the generic *body*, the > > change is legal (the generic body compiles), but suddenly one or more > > *instantiations* become illegal as a result. That is the problem I'm > > talking about with units. > > That is undesirable, but it did exist in Ada-83. You're right, there was one case of this in Ada83. -- mark