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.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FROM_STARTS_WITH_NUMS autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a24:41a8:: with SMTP id b40-v6mr11048126itd.18.1523097827850; Sat, 07 Apr 2018 03:43:47 -0700 (PDT) X-Received: by 2002:a9d:3286:: with SMTP id u6-v6mr248660otb.13.1523097827644; Sat, 07 Apr 2018 03:43:47 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!paganini.bofh.team!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!u184-v6no608453ita.0!news-out.google.com!u64-v6ni903itb.0!nntp.google.com!u184-v6no608449ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 7 Apr 2018 03:43:47 -0700 (PDT) In-Reply-To: <65f6c069-3534-47ce-8a49-806852e133f8@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.245.160.180; posting-account=rhqvKAoAAABpikMmPHJSZh4400BboHwT NNTP-Posting-Host: 85.245.160.180 References: <3c392f24-5b12-4290-9ec6-2dc986bb6530@googlegroups.com> <508bf6b5-ecb8-4633-a418-2b11d59054b1@googlegroups.com> <65f6c069-3534-47ce-8a49-806852e133f8@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Standard."-" provided to "with function "-" (VAL1 : in VALUE_TYPE) return VALUE_TYPE is <>;" refused: From: Mehdi Saada <00120260a@gmail.com> Injection-Date: Sat, 07 Apr 2018 10:43:47 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:51378 Date: 2018-04-07T03:43:47-07:00 List-Id: I purged my own hysterical rant. To sum it up: the root problem is circular instantiation. GP1 is generic, wants numerical type and operations. GP1.G_Child needs P2, P2.Child and P2.G_Child, and P2.G_Child needs as pack= age parameter GP1. I say needs as in "functionnaly", so instead of requirin= g a package generic parameter, I could stick with having the numerical sign= ature outside, instantiate it, and instantiate GP1 with it. But I'm not sure this is a way out. Originally, none of these were generics, so these problems weren't happenin= g, I think.