From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: * X-Spam-Status: No, score=1.5 required=3.0 tests=BAYES_50,FREEMAIL_FROM, FROM_STARTS_WITH_NUMS autolearn=no autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:ac8:1403:: with SMTP id k3mr14622700qtj.266.1612774976138; Mon, 08 Feb 2021 01:02:56 -0800 (PST) X-Received: by 2002:a25:9387:: with SMTP id a7mr24461781ybm.73.1612774975889; Mon, 08 Feb 2021 01:02:55 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.uzoreto.com!feeder1.cambriumusenet.nl!feed.tweak.nl!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 8 Feb 2021 01:02:55 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=85.241.60.12; posting-account=rhqvKAoAAABpikMmPHJSZh4400BboHwT NNTP-Posting-Host: 85.241.60.12 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <05ea3d57-6d03-4f8e-8a8c-6282a11f447dn@googlegroups.com> Subject: qualified expression From: Mehdi Saada <00120260a@gmail.com> Injection-Date: Mon, 08 Feb 2021 09:02:56 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61315 List-Id: Is it possible to express within a qualified expression, not a slice with all elements being the same, but a slice from another variable ? type t_type (det: det_type := default_value) is record T_vect: t_arrays(0..det) := (others => null_value); end record; var2 : t_vect(1..det+1) :=...; Like, usually it is: T_type'(det1, 0..det1 => Element) there it would looks like T_type'(det1, 0..det1 => Var2(1..det1)); btw, shouln't the context here be sufficient for the expression to resolve ?