From: Charly <carl.weierstrass@googlemail.com>
Subject: Re: Strange error message
Date: Sun, 1 Jun 2014 05:50:24 -0700 (PDT)
Date: 2014-06-01T05:50:24-07:00 [thread overview]
Message-ID: <c065aa1b-d72c-432f-a8f9-c144984773b6@googlegroups.com> (raw)
In-Reply-To: <g4o4rbacbb9z.tweckzb7g3gq$.dlg@40tude.net>
Am Sonntag, 1. Juni 2014 13:11:08 UTC+2 schrieb Dmitry A. Kazakov:
> On Sun, 1 Jun 2014 03:24:02 -0700 (PDT), Charly wrote:
>
> You must override Create for High, *always*.
>
>
.........
>
>
> I believe it was a recent hack (wrongly) added to Ada that you need not to
>
> override primitive operations returning the tagged type when the derived
>
> type does not actually extend. I don't know if making that public or
>
> privately changes anything. You did that privately.
>
>
>
> It is an awful idea in any form. You should always override such
>
> operations, and all out-operations, because inheriting them is a priori
>
> unsafe.
>
>
>
> --
>
> Regards,
>
> Dmitry A. Kazakov
>
> http://www.dmitry-kazakov.de
> --
>
> Regards,
>
> Dmitry A. Kazakov
>
> http://www.dmitry-kazakov.de
Thank you for the rapid answer. I wondered if it is a bug in GNAT.
I thought, that I always have to override abstract function and
procedures in concrete types and can override concrete functions
and procedures only as needed.
Charly
next prev parent reply other threads:[~2014-06-01 12:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-01 10:24 Strange error message Charly
2014-06-01 11:11 ` Dmitry A. Kazakov
2014-06-01 12:50 ` Charly [this message]
2014-06-01 13:54 ` Simon Wright
2014-06-01 21:18 ` Robert A Duff
2014-06-02 7:47 ` Dmitry A. Kazakov
2014-06-02 13:49 ` Robert A Duff
2014-06-02 14:55 ` Dmitry A. Kazakov
2014-06-02 17:24 ` Robert A Duff
2014-06-02 18:39 ` Shark8
2014-06-02 19:56 ` Randy Brukardt
-- strict thread matches above, loose matches on Subject: below --
2002-11-13 10:36 strange " evangeli
2002-11-13 15:05 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox