[GAP] Ada 2005 object.method doesn't always dispatch

Cyrille Comar comar at adacore.com
Tue Feb 21 10:16:55 CET 2006


Cyrille Comar wrote:
> Tullio Vardanega wrote:
>  If you have the patience of unzipping the project, browse
> 
>> through the code (which is basically Martin's and Cyrille's) and
>> compile it, you will note an interesting malfunction in the compiler
>> (in main.adb), which seems to dislike the object.method syntax
>> for the example.
> 
> There is indeed one thing that looks fishy to me: I believe the compiler 
> should accept the object.method notation for a class wide operation and 
> it doesn't in your case. I'll open an internal ticket on this issue.

ok, I opened the ticket and it is now fixed (thanks Ed!). class-wide 
operations with an access parameter were not taken into account for the 
object.method notation (without the access parameter there was no 
problem). So this issue (along many others) will be fixed in the next 
GAP release.


More information about the GAP mailing list