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.52.121.68 with SMTP id li4mr3834253vdb.6.1393454152968; Wed, 26 Feb 2014 14:35:52 -0800 (PST) X-Received: by 10.50.115.71 with SMTP id jm7mr49104igb.14.1393454152707; Wed, 26 Feb 2014 14:35:52 -0800 (PST) Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!m5no2519571qaj.1!news-out.google.com!h8ni100igy.0!nntp.google.com!uq10no5103921igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 26 Feb 2014 14:35:52 -0800 (PST) In-Reply-To: <3b16296c-3a9b-478e-a113-44415f665121@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=KSa2aQoAAACOxnC0usBJYX8NE3x3a1Xq NNTP-Posting-Host: 66.126.103.122 References: <3b16296c-3a9b-478e-a113-44415f665121@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <3cf20663-960d-4ab1-9210-08042ca6af43@googlegroups.com> Subject: Re: Class Wide Type Invariants - My bug or compiler bug From: adambeneschan@gmail.com Injection-Date: Wed, 26 Feb 2014 22:35:52 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Original-Bytes: 1566 Xref: number.nntp.dca.giganews.com comp.lang.ada:185083 Date: 2014-02-26T14:35:52-08:00 List-Id: 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. -- Adam