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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!a1g2000hsb.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: How to pass around access types to interfaces? Date: Fri, 24 Oct 2008 14:32:06 -0700 (PDT) Organization: http://groups.google.com Message-ID: <031d5069-6195-4d22-ae8c-1cc6c2985ea8@a1g2000hsb.googlegroups.com> References: NNTP-Posting-Host: 62.49.19.209 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1224883926 18963 127.0.0.1 (24 Oct 2008 21:32:06 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 24 Oct 2008 21:32:06 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a1g2000hsb.googlegroups.com; posting-host=62.49.19.209; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; en-us) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:2488 Date: 2008-10-24T14:32:06-07:00 List-Id: On Oct 24, 12:45=A0pm, Sven wrote: > I'm trying to get this code to run: > > in some package: > =A0 type My_Interface is interface; > =A0 type My_Interface_Access is access all My_Interface'Class; > > =A0 procedure Do_Something( Item : in out Some_Object; With : > My_Interface_Access ); Does your compiler let you use the reserved word 'with' as the name of a parameter? That could confuse things ..