From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2153d570c2f03e29 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.66.82.137 with SMTP id i9mr40730pay.41.1355789357034; Mon, 17 Dec 2012 16:09:17 -0800 (PST) MIME-Version: 1.0 Path: s9ni50706pbb.0!nntp.google.com!news.glorb.com!news2.arglkargh.de!news.ecp.fr!news.jacob-sparre.dk!munin.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Question about library-level functions Date: Mon, 17 Dec 2012 18:09:13 -0600 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1355789356 31288 69.95.181.76 (18 Dec 2012 00:09:16 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 18 Dec 2012 00:09:16 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-RFC2646: Format=Flowed; Original Date: 2012-12-17T18:09:13-06:00 List-Id: "AdaMagica" wrote in message news:de6feb16-f72f-431d-81d8-6db38b36735c@googlegroups.com... >> For that reason, I imagine that the master of the top-level >> function exists inside of oneself. > > No, it's the environment task. And the finalization is wrong at this > place. Right. Finalization depends only on the call of a function, it has nothing to do with where it is declared. So this is clearly a bug. (Precisely what is supposed to happen I am not going to guess [or research], but it can't be different.) Randy.