[squeak-dev] autogenerated preferences category
Eliot Miranda
eliot.miranda at gmail.com
Wed Jun 7 00:02:31 UTC 2017
Hi All,
any reason why we cannot revert
!Preferences class methodsFor: 'private' stamp: 'mt 8/13/2016 10:18'!
compileAccessorForPreference: aPreference
"Compile an accessor method for the given preference"
self class
compileSilently: (
'{1} ^self valueOfFlag: {2} ifAbsent: [ {3} ]'
format: {
aPreference name asString.
aPreference name asSymbol printString.
aPreference defaultValue storeString })
classified: 'standard queries'
to
!Preferences class methodsFor: 'private' stamp: 'mt 8/27/2015 09:27'!
compileAccessorForPreference: aPreference
"Compile an accessor method for the given preference"
self class
compileSilently: (
'{1} ^self valueOfFlag: {2} ifAbsent: [ {3} ]'
format: {
aPreference name asString.
aPreference name asSymbol printString.
aPreference defaultValue storeString })
classified: '*autogenerated - standard queries'
? The dirty System package is really objectionable, and this is really
easy to fix. Does the '*autogenerated - standard queries' category cause
problems, break tests? If so, which?
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170606/9093acc2/attachment.html>
More information about the Squeak-dev
mailing list
|