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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.122.131 with SMTP id t3mr3622288yhh.31.1393459144942; Wed, 26 Feb 2014 15:59:04 -0800 (PST) X-Received: by 10.182.103.195 with SMTP id fy3mr52227obb.1.1393459144616; Wed, 26 Feb 2014 15:59:04 -0800 (PST) Path: border1.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!w5no814183qac.0!news-out.google.com!h8ni2igy.0!nntp.google.com!uq10no334436igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 26 Feb 2014 15:59:04 -0800 (PST) In-Reply-To: <3cf20663-960d-4ab1-9210-08042ca6af43@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=149.32.224.33; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 NNTP-Posting-Host: 149.32.224.33 References: <3b16296c-3a9b-478e-a113-44415f665121@googlegroups.com> <3cf20663-960d-4ab1-9210-08042ca6af43@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <1804bc47-f772-4d2a-9ff2-b0d2757f8eb9@googlegroups.com> Subject: Re: Class Wide Type Invariants - My bug or compiler bug From: Anh Vo Injection-Date: Wed, 26 Feb 2014 23:59:04 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Original-Bytes: 1725 Xref: number.nntp.dca.giganews.com comp.lang.ada:185089 Date: 2014-02-26T15:59:04-08:00 List-Id: On Wednesday, February 26, 2014 2:35:52 PM UTC-8, adambe...@gmail.com wrote: > On Tuesday, February 25, 2014 7:29:45 PM UTC-8, Anh Vo wrote: > >> GNAT did not raise Assertion_Error where I thought it should for the following codes. Either I misunderstood the LRM or it is a compiler bug. > > It looks to me like this should work, according to 7.3.2(19). I don't know what GNAT's default Assertion_Policy for Type_Invariant'Class is, however. GNAT did comply with 7.3.2(18/3) however.