VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.
Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig
by PhotonDemon » Wed Mar 30, 2011 12:48 pm
Hi,
It seems there is a Rectangle class defined in CLDT a sub-app of Kernel that is just what you think it would be, an object that defines an area and there is a Rectangle platform function defined in _PRAGMA_PlatformFunctions, of #WindowsPlatformFramework a sub-app of PlatformFramework.
I have been able to work around the conflict but maybe the platform functions name should be changed?
Lou
-
PhotonDemon
- [|]
-
- Posts: 176
- Joined: Thu Dec 20, 2007 1:45 pm
-
by marten » Wed Mar 30, 2011 9:31 pm
That's interesting - and to get rid of this one may remove the pool dictionary from the class definition and access the pool key directly via "<pool>::<key>" syntax.
When having this conflict - by the way - you may write "CLDT.Rectangle" in a method source and it returns the platform function (and the compiler is happy). If you remove the pool name from the class definition you get the instance of CLDT class. This looks like some inconsistency within the parser ??
-
marten
- [|]
-
- Posts: 641
- Joined: Sat Oct 14, 2006 7:10 am
- Location: Hamburg - Germany
-
Return to VA Smalltalk 7.0, 7.5 & 8.0
Who is online
Users browsing this forum: No registered users and 1 guest