autogenerated preferences category

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

autogenerated preferences category

Eliot Miranda-2
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