From: Serge Robyns <serge.robyns@gmail.com>
Subject: Re: I'm facing an issue with: call to abstract procedure must be dispatching
Date: Tue, 8 Dec 2015 13:55:31 -0800 (PST)
Date: 2015-12-08T13:55:31-08:00 [thread overview]
Message-ID: <112596d0-d4ee-46e9-a02d-8de837aff352@googlegroups.com> (raw)
In-Reply-To: <vjaapo5l3d0f.19ppdnxybx3i4.dlg@40tude.net>
On Tuesday, 8 December 2015 22:09:13 UTC+1, Dmitry A. Kazakov wrote:
> On Tue, 8 Dec 2015 12:21:31 -0800 (PST), Serge Robyns wrote:
>
> If you really need mix-in then better do it like this:
>
> type T_Abstract_Data_Store
> ( Clients : not null access T_Abstract_Client'Class;
> Store2 : not null access T_Abstract_Store2'Class
> ) is abstract tagged limited record
>
> This would add a bit more safety, much needed when using access types.
Was considering this option, I haven't used this construct yet. This is a place where reading the ALRM just gives headaches without a clue of the use cases. And guess what, I just have been hit by a forgotten assignment .... Then it really feels like C and the null pointers :-( So this is my next immediate step. Now I'm still fixing a "tag check failed" :-P, which was one thing a mentioned an hour ago. What I do like with Ada, is that I can do major refactoring and regularly on the first successful compile have a "bug free" version. Now with these access variables the story changes a little, I got hit by my first segmentation violation in Ada :-).
> Why MI is needed here? Of which of two stores is Insert?
Just stupid laziness ....
> > My only long term concern is how many people can program in Ada?
>
> If you do, that is one man more... Any language lives by people who want to
> use it.
>
Yes, I try to advocate and hence show by the example ... but I'm not planning being a lonesome cowboy ....
Regards,
Serge
next prev parent reply other threads:[~2015-12-08 21:55 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-08 16:45 I'm facing an issue with: call to abstract procedure must be dispatching Serge Robyns
2015-12-08 16:59 ` G.B.
2015-12-08 17:04 ` Dmitry A. Kazakov
2015-12-08 17:24 ` Serge Robyns
2015-12-08 17:42 ` Dmitry A. Kazakov
2015-12-08 18:00 ` Serge Robyns
2015-12-08 18:22 ` Dmitry A. Kazakov
2015-12-08 20:21 ` Serge Robyns
2015-12-08 21:08 ` Dmitry A. Kazakov
2015-12-08 21:55 ` Serge Robyns [this message]
2015-12-08 22:43 ` Serge Robyns
2015-12-08 22:55 ` Jeffrey R. Carter
2015-12-09 23:03 ` Randy Brukardt
2015-12-10 8:38 ` Serge Robyns
2015-12-10 23:43 ` Randy Brukardt
2015-12-09 8:48 ` Dmitry A. Kazakov
2015-12-09 10:53 ` G.B.
2015-12-09 12:03 ` Dmitry A. Kazakov
2015-12-09 13:42 ` G.B.
2015-12-09 14:23 ` Dmitry A. Kazakov
2015-12-08 22:55 ` Jeffrey R. Carter
2015-12-08 23:04 ` Serge Robyns
2015-12-08 23:42 ` Jeffrey R. Carter
2015-12-09 13:40 ` Jere
2015-12-09 13:48 ` G.B.
2015-12-09 15:33 ` Jere
2015-12-13 21:37 ` Shark8
2015-12-14 2:20 ` Jeffrey R. Carter
2015-12-15 7:26 ` Shark8
2015-12-08 17:30 ` Jeffrey R. Carter
2015-12-08 17:48 ` Serge Robyns
2015-12-08 18:46 ` Jeffrey R. Carter
2015-12-08 20:28 ` Serge Robyns
2015-12-08 22:20 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox