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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,342dcd67e9ca73ee,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail From: sean.gilbertson@gmail.com Newsgroups: comp.lang.ada Subject: tagged record child: override constructor? Date: 12 Sep 2005 22:58:54 -0700 Organization: http://groups.google.com Message-ID: <1126591134.797303.318920@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: 70.92.174.90 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1126591140 4785 127.0.0.1 (13 Sep 2005 05:59:00 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 13 Sep 2005 05:59:00 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050908 Camino/0.9a2+,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: z14g2000cwz.googlegroups.com; posting-host=70.92.174.90; posting-account=ad8K8g0AAACmWThFIlwTK3Zu6pSkHjDa Xref: g2news1.google.com comp.lang.ada:4599 Date: 2005-09-12T22:58:54-07:00 List-Id: I have a tagged record that is declared private, along with a constructor function which returns an instance. I do this to enforce the assignment of several required fields in the record, so if you know how to do this another way, please let me know! But Ada is telling me I have to override this function in the child. This doesn't make a lot of sense. How can I deal with this? I'm not currently using Ada 2005.