dr-geo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dr. Geo] Dr Geo new build errors on the Mac


From: Hilaire Fernandes
Subject: Re: [Dr. Geo] Dr Geo new build errors on the Mac
Date: Wed, 3 Apr 2024 11:55:00 +0200
User-agent: Mozilla Thunderbird

Hi Oscar,

Thanks for the suggestion. I changed it differently https://github.com/hilaire/drgeo/issues/27.

The precondition to iconsPath may not resist to future code evolution. Think about future code changes where the plateform variable is accessed from another method and "earlier" than #iconPath. Also I want to avoid the overload to the access method.

I am not sure you need to adjust your command build script, I don't think so. 

We should add it to the repo by the way.

Hilaire

Le 03/04/2024 à 09:55, Oscar Nierstrasz a écrit :
Can I suggest adding the following precondition to iconsPath? It would make clear what the problem is if someone “forgets” to initialize DrGeo.

DrGeoSystem>>#iconsPath
self assert: platform notNil description: 'DrGeo must be initialized.
Run `DrGeoSystem beDevelopment.` or `DrGeoSystem beWorkstation.`'.
^ platform iconsPath
-- 
GNU Dr. Geo
http://gnu.org/s/dr-geo/
http://gnu-drgeo.blogspot.com/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]