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,73057f1a3ca11607 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news2.telebyte.nl!news-fra1.dfn.de!news-ham1.dfn.de!news.zfn.uni-bremen.de!informatik.uni-bremen.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: record extension aggregate for returned type legal? Date: Tue, 12 Oct 2004 14:36:54 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <1738418.atIT6LYH9Z@linux1.krischik.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1097591814 16287 134.91.1.34 (12 Oct 2004 14:36:54 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Tue, 12 Oct 2004 14:36:54 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: g2news1.google.com comp.lang.ada:5094 Date: 2004-10-12T14:36:54+00:00 List-Id: Martin Krischik wrote: : Georg Bauhaus wrote: :> package body Ext is :> :> package body B is :> function make return T is :> begin :> return (T with n => 0); -- here : : This syntax is for child classes which first initialise there parent class : and then there own data. Yes, but one compiler finds no fault with the line in question, the other says No. : :> --return (n => 0); : : Should that not be : : return T'(n => 0); Same as (n => 0) in return expression?