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 2002:a37:bcc6:: with SMTP id m189mr7847049qkf.436.1570555841182; Tue, 08 Oct 2019 10:30:41 -0700 (PDT) X-Received: by 2002:a9d:744d:: with SMTP id p13mr147453otk.76.1570555840842; Tue, 08 Oct 2019 10:30:40 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!news.muarf.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!o24no9177605qtl.0!news-out.google.com!q23ni377qtl.1!nntp.google.com!o24no9177597qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 8 Oct 2019 10:30:40 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=93.41.2.250; posting-account=9fwclgkAAAD6oQ5usUYhee1l39geVY99 NNTP-Posting-Host: 93.41.2.250 References: <3113a338-c9fd-4c9e-8197-9aca91d2b1d5@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0e2b583a-11b7-40db-b2ae-0b795728c1c2@googlegroups.com> Subject: Re: Funny (so to say...) interaction of "not null" and Vectors? From: mockturtle Injection-Date: Tue, 08 Oct 2019 17:30:41 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:57265 Date: 2019-10-08T10:30:40-07:00 List-Id: On Tuesday, October 8, 2019 at 6:21:51 PM UTC+2, Dmitry A. Kazakov wrote: > On 2019-10-08 17:46, mockturtle wrote: > > > My suspect is that the dynamically created array can have some null access value, causing the error. > > Does this make any sense? > > No it cannot, this is why you get the exception. Logically the default > initialization of any non-empty array of not null pointers is equivalent > to raising Constraint_Error. OK, that is what I thought (my "can" was "it can happen that" rather than "it is allowed to")