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,b9a378a9a09dab87 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.89.163 with SMTP id bp3mr1930836pab.6.1346169715301; Tue, 28 Aug 2012 09:01:55 -0700 (PDT) Received: by 10.68.125.193 with SMTP id ms1mr3575041pbb.2.1346169715241; Tue, 28 Aug 2012 09:01:55 -0700 (PDT) Path: a8ni83829893pbd.1!nntp.google.com!r4no294615pbs.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 28 Aug 2012 09:01:53 -0700 (PDT) In-Reply-To: <647e1a9e-e8be-4ad2-a9d4-21c8ae6f52f2@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ NNTP-Posting-Host: 66.126.103.122 References: <647e1a9e-e8be-4ad2-a9d4-21c8ae6f52f2@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <052f9b83-3a8c-41b1-981b-4a0020bc1cab@googlegroups.com> Subject: Re: Access to procedure and generics From: Adam Beneschan Injection-Date: Tue, 28 Aug 2012 16:01:55 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-08-28T09:01:53-07:00 List-Id: On Tuesday, August 28, 2012 8:57:36 AM UTC-7, Adam Beneschan wrote: > The problem with your generic code is that the generic *could* be instantiated > inside a subprogram, using a "local subprogram" as the HANDLER parameter. This was worded badly. The problem with your generic code is that the generic *could* be instantiated inside a subprogram, and then HANDLER would become a "local subprogram", which means Handler'Access can't be used as a global access type. -- Adam