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.36.118.79 with SMTP id z76mr9197318itb.1.1466983390662; Sun, 26 Jun 2016 16:23:10 -0700 (PDT) X-Received: by 10.157.60.49 with SMTP id q46mr570552otc.0.1466983390637; Sun, 26 Jun 2016 16:23:10 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!goblin1!goblin.stu.neva.ru!jk6no3388918igb.0!news-out.google.com!d62ni19424ith.0!nntp.google.com!r1no3406566ige.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 26 Jun 2016 16:23:10 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:191:8202:8510:5985:2c17:9409:aa9c; posting-account=fdRd8woAAADTIlxCu9FgvDrUK4wPzvy3 NNTP-Posting-Host: 2601:191:8202:8510:5985:2c17:9409:aa9c References: <57346ac8$0$4570$426a74cc@news.free.fr> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Ada.Strings.Fixed.Count raises Storage_Error From: rieachus@comcast.net Injection-Date: Sun, 26 Jun 2016 23:23:10 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:30949 Date: 2016-06-26T16:23:10-07:00 List-Id: On Sunday, June 26, 2016 at 5:18:49 PM UTC-4, Victor Porton wrote: =20 > Let's decide who of us will report the bug, so that the report won't happ= en=20 > to be duplicate? How about no one reports this non-existent error? This is a category of pr= oblem that the ARG decided long ago should be considered pathologies. The= original case was a program that checked whether a task returned by a func= tion was Terminated. (The "correct" answer was True, but the program was t= otally useless for anything other than making compiler developers lives mis= erable.) A string which ends at Integer'Last is either huge enough to raise Storage_= Error anyway, or a clever compiler test that exists only to make compiler d= evelopers lives miserable. I'm retired now, so I can say that without insu= lting customers. And as Randy pointed out anything is allowed to raise Sto= rage_Error. That might not be user friendly, but in this case (Strings end= ing at Integer'Last) no sensible user is going to run into the problem.