[squeak-dev] Monticello and PackageInfo

Bert Freudenberg bert at freudenbergs.de
Wed Apr 3 17:18:18 UTC 2013


On 02.04.2013, at 22:46, Tobias Pape <Das.Linux at gmx.de> wrote:

> Hey Chris, hey list
> 
> Am 02.04.2013 um 19:51 schrieb Chris Muller <asqueaker at gmail.com>:
> 
>> Did you get your question answered?  If not, please clarify..
> 
> No I did not.
> 
> Suppose, you execute 
> 	TestRunner workingCopy
> you get a NMU of TestRunner class dNU #packageInfo
> 
> The same holds for MethodReference: 
> 	(MethodReference 
> 		class: TestRunner
> 		selector: #runAll) workingCopy
> 
> #workingCopy is injected by the Monticello Package.
> 
> My Question:
> 
> Is the relatively new (2011) #workingCopy on Class and MethodReference
> just implemented wrongly or is something wrong with PackageInfo?
> 
> Best
> 	-Tobias


This "feature" is misguided because a class can belong to multiple packages. So asking a class for its single package info is wrong.

IMNSHO the #workingCopy method should be removed. It's not used in the system yet, fortunately.

- Bert -




More information about the Squeak-dev mailing list