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 autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:620a:40c8:: with SMTP id g8mr4998282qko.495.1642509007467; Tue, 18 Jan 2022 04:30:07 -0800 (PST) X-Received: by 2002:a25:e64d:: with SMTP id d74mr3480369ybh.323.1642509007301; Tue, 18 Jan 2022 04:30:07 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!border1.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: Tue, 18 Jan 2022 04:30:07 -0800 (PST) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=80.194.57.154; posting-account=xS3LTwoAAAB3aeXopC8a-M58TGE8K6go NNTP-Posting-Host: 80.194.57.154 References: <09dcb07d-f7b8-432b-8338-840ff90faef1n@googlegroups.com> <55bae7e8-f5da-4cfc-b0f9-284bc900d89cn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Odd Behaviour From: Mark Wilson Injection-Date: Tue, 18 Jan 2022 12:30:07 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:63393 List-Id: > > You should be able to work around this by making your procedure a wrapper around > an imported function with an in out parameter, with SPARK checking turned off in > the procedure body. > -- I think that has to be plan. I'll actually do it by specifying the 'raw' imports in an Ada spec, then import that into a Spark body keeping it clean and simple.