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.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!yy9MKEJN2ULhWGfnfq4v5w.user.gioia.aioe.org.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Unreferenced parameters Date: Thu, 04 Feb 2021 10:27:11 +0000 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: yy9MKEJN2ULhWGfnfq4v5w.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) X-Notice: Filtered by postfilter v. 0.9.2 Cancel-Lock: sha1:pyEAnYSCHWGFkmGuMHLiHYFAcmw= Xref: reader02.eternal-september.org comp.lang.ada:61282 List-Id: "Randy Brukardt" writes: > We (the ARG) recently added an allowance for aspect specifications on > parameters and a few other constructs. The reason in part was because we > didn't want to restrict where implementation-defined aspects can be placed, > and the motivating case was aspect Unreferenced. > > So I'd guess that you can put the aspect directly on the parameters in the > usual way (but that may require a compiler not available yet; the change was > approved in Sept [AI12-0395-1] and Oct [AI12-0398-1]). So, I'd expect the > following to work (eventually): > > overriding function Expand_Tabs > (This : Dummy_Editor_Buffer with Unreferenced; > Line : Editable_Line_Type with Unreferenced; > Column : Character_Offset_Type with Unreferenced) return > Visible_Column_Type is (0); As you say, not yet. But .. looking good!