The Trunk: Tools-pre.898.mcz

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

The Trunk: Tools-pre.898.mcz

commits-2
Patrick Rein uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-pre.898.mcz

==================== Summary ====================

Name: Tools-pre.898
Author: pre
Time: 2 October 2019, 3:18:06.775738 pm
UUID: febe3387-5310-944b-b869-de66d6ccb0d9
Ancestors: Tools-mt.897

Migrates createInstVarAccessors to asSimpleSetter

=============== Diff against Tools-mt.897 ===============

Item was changed:
  ----- Method: Behavior>>createInstVarAccessors (in category '*Tools-Browser-accessors') -----
  createInstVarAccessors
  "Create getters and setters for all inst vars defined here,
  except do NOT clobber or override any selectors already understood by me"
 
  self instVarNames
  collect: [:each | each asSymbol]
  thenDo: [:instVar |
  (self canUnderstand: instVar) ifFalse: [self createGetterFor: instVar].
+ (self canUnderstand: instVar asSimpleSetter) ifFalse: [self createSetterFor: instVar]].
- (self canUnderstand: instVar asMutator) ifFalse: [self createSetterFor: instVar]].
 
  !