From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:622a:44e:: with SMTP id o14mr21879490qtx.669.1643222936879; Wed, 26 Jan 2022 10:48:56 -0800 (PST) X-Received: by 2002:a25:dfc7:: with SMTP id w190mr365865ybg.696.1643222936747; Wed, 26 Jan 2022 10:48:56 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 26 Jan 2022 10:48:56 -0800 (PST) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=94.31.100.23; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 94.31.100.23 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <3ecb1915-5e53-40bd-aaba-96ac52e774b1n@googlegroups.com> Subject: Re: Generic formal ">" From: AdaMagica Injection-Date: Wed, 26 Jan 2022 18:48:56 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:63404 List-Id: Within the generic, data'length is an integer value of type universal integer. This has nothing to do with the generic parameter Element_Type, even if this is instantiated with Integer. The predefined attribute 'Image produces a string from parameter Integer. So Data'Length is implicitly converted from universal_integer to integer. This is independent from the generic parameter Element_Type.