by wembley » Fri Feb 11, 2011 7:17 am
Fixed in V8.0.4.
The behavior differs based on whether or not you are running with a clean image. In a clean image, the 2 symbols are not defined, so you get the compiler error; otherwise, the 2 symbols already exist, so you get only the 2 Warning 91 messages.
There is no way to eliminate the 2 Warning 91 messages on first load since the test case is intended to define 2 globals in the unmanaged namespace. But if you do a reload of the application (without an intervening unload) the 2 globals will already be defined, so you will not get the 2 Warning 91 messages. The best that can be done is write an explanation to the Transcript that covers both cases.
I also discovered that the app did not remove the 2 globals when it was unloaded -- this has been corrected.
Finally, I renamed the 2 globals to something more unique to eliminate the possibility of naming collisions.
John O'Keefe [|], Principal Smalltalk Architect, Instantiations Inc.