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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b0ad1d51e4ffa82b X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!news.doubleSlash.org!open-news-network.org!news.teledata-fn.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: access types Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: Date: Sun, 1 Jul 2007 09:52:22 +0200 Message-ID: <3b3itu0t79zl$.czig4w8nzdmp.dlg@40tude.net> NNTP-Posting-Date: 01 Jul 2007 09:51:39 CEST NNTP-Posting-Host: 0e385d77.newsspool1.arcor-online.net X-Trace: DXC=Ml>fHlC;_@a:i=48;n?Z:`ic==]BZ:afn4Fo<]lROoRaFl8W>\BH3Ybk3k>@01`WehDNcfSJ;bb[eIRnRBaCd On Sat, 30 Jun 2007 21:54:15 -0400, Robert A Duff wrote: > Brian May writes: > >> V := U; > > Try V := U.all'Access. No, that won't work, because the access types are pool-specific. It is a nasty problem one has to fight all the way when dealing with tagged types and pool-specific access types. Sorry, Brian, you probably have to resort to Unchecked_Conversion or else add "all" to your access types. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de