comp.lang.ada
 help / color / mirror / Atom feed
From: Rod Kay <rodakay@internode.on.net>
Subject: Re: Gnat: broken dispatch tables for interface types ?
Date: Tue, 10 Jul 2012 00:02:06 -0700 (PDT)
Date: 2012-07-10T00:02:06-07:00	[thread overview]
Message-ID: <48efa098-30ee-473d-af17-8de323a54967@googlegroups.com> (raw)
In-Reply-To: <c231a9b2-8fb7-41ab-98a2-72173a08f66c@googlegroups.com>

   I seem to have found the cause of my problem.


   In one case, when an Observer registered itself with a Subject, I'd used the ".all'access" notation to convert from a derived Observer 'access' to the base Observer "access" ...

   Self.Keyboard.register_Observer (Self.all'access, ...);



   When I do the conversion explicitly, all is fine ...

   Self.Keyboard.add (lace.event.Observer.view (Self), ...);



   Thank you Vadim, for the tip.



   Also, it seems I managed to introduce a different error in my (not so) cut-down version of the code (ie deriving types within a body, rather than spec), which Dmitri pointed out. Would two bug reports be in order then ?


   Finally, thanks again to all for the prompt, helpful replies.



  parent reply	other threads:[~2012-07-10  7:02 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-08  3:02 Gnat: broken dispatch tables for interface types ? rodakay
2012-07-08  6:53 ` Dmitry A. Kazakov
2012-07-08  7:38   ` Jeffrey Carter
2012-07-08  8:10     ` Dmitry A. Kazakov
2012-07-08 12:34   ` rodakay
2012-07-09  6:53     ` rodakay
2012-07-09  7:31       ` Dmitry A. Kazakov
2012-07-09  7:46         ` Rod Kay
2012-07-09  9:37         ` Simon Wright
2012-07-09  9:49           ` Dmitry A. Kazakov
2012-07-09 17:32             ` Simon Wright
2012-07-09 18:28               ` Dmitry A. Kazakov
2012-07-13 15:58             ` Robert A Duff
2012-07-08 17:41 ` Vadim Godunko
2012-07-09  7:34   ` Rod Kay
2012-07-08 23:45 ` sbelmont700
2012-07-10  7:02 ` Rod Kay [this message]
2012-07-10 11:09   ` 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