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: a07f3367d7,57f8540942f8e060 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!f15g2000yqe.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Initialization and Finalization of limited object "returned" by a function Date: Thu, 11 Feb 2010 03:00:09 -0800 (PST) Organization: http://groups.google.com Message-ID: <41b794ec-26b0-485e-a959-580a5b877a3b@f15g2000yqe.googlegroups.com> References: NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1265886009 1710 127.0.0.1 (11 Feb 2010 11:00:09 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 11 Feb 2010 11:00:09 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f15g2000yqe.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:9106 Date: 2010-02-11T03:00:09-08:00 List-Id: Yannick Duch=EAne wrote on comp.lang.ada: > =A0 =A0Tested_Interface : Dispatch.Instance_Class :=3D > =A0 =A0 =A0(Dispatch.New_Instance); Here you are initializing with an aggregate that contains the result of the function call. I suspect this triggers a compiler bug. What happens if you remove the parentheses? -- Ludovic Brenta.