L
Laura Stern
Guest
Re 1st question: It is not strictly necessary for the compiler to complain about this in an Interface definition. But ultimately, any class that uses this must implement this method. And then they will get the error anyway that OVERRIDE must be specified. So we just give the error sooner rather than later. Re 2nd question: Yes, we've engineered things so that all objects, including .NET ones inherit from Progress.Lang.Object (or act like they do). Yes, strictly speaking you are correct. The .NET object should have two Equals methods, one that takes a System.Object and one that takes a Progress.Lang.Object. If they pass a System.Object we should call .NET. If they pass a Progress.Lang.Object we should call our own AVM routine. So I guess it's a bug, but I don't really see the use case for this. And I'm not sure the latter case would really do the right thing (would have to think about that some more).
Continue reading...
Continue reading...