From: Mehdi Saada <00120260a@gmail.com>
Subject: Re: Standard."-" provided to "with function "-" (VAL1 : in VALUE_TYPE) return VALUE_TYPE is <>;" refused:
Date: Sat, 7 Apr 2018 03:43:47 -0700 (PDT)
Date: 2018-04-07T03:43:47-07:00 [thread overview]
Message-ID: <bbe45440-e69f-442a-86a2-b39f98e217e5@googlegroups.com> (raw)
In-Reply-To: <65f6c069-3534-47ce-8a49-806852e133f8@googlegroups.com>
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 package parameter GP1. I say needs as in "functionnaly", so instead of requiring a package generic parameter, I could stick with having the numerical signature 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 happening, I think.
next prev parent reply other threads:[~2018-04-07 10:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-06 17:20 Standard."-" provided to "with function "-" (VAL1 : in VALUE_TYPE) return VALUE_TYPE is <>;" refused: Mehdi Saada
2018-04-06 19:43 ` Simon Wright
2018-04-06 20:09 ` Mehdi Saada
2018-04-06 21:35 ` Simon Wright
2018-04-06 20:37 ` AdaMagica
2018-04-06 21:39 ` Simon Wright
2018-04-06 23:08 ` Mehdi Saada
2018-04-07 0:05 ` Mehdi Saada
2018-04-07 10:17 ` Mehdi Saada
2018-04-07 10:43 ` Mehdi Saada [this message]
2018-04-07 13:37 ` Mehdi Saada
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox