[squeak-dev] The Trunk: System-topa.764.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Aug 27 21:47:44 UTC 2015


Tobias Pape uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-topa.764.mcz

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

Name: System-topa.764
Author: topa
Time: 27 August 2015, 11:47:04.664 pm
UUID: c205a736-8aff-48c5-8b3b-24ec808d19fd
Ancestors: System-topa.763

Do not return nil for unknown preferences in dNU magic but rather bail.

=============== Diff against System-topa.763 ===============

Item was changed:
  ----- Method: Preferences class>>doesNotUnderstand: (in category 'get/set') -----
  doesNotUnderstand: aMessage
  	"Interpret unary message selectors as preference id."
  	
  	^ aMessage arguments size > 0
  		ifTrue: [super doesNotUnderstand: aMessage]
+ 		ifFalse: [
+ 			self
+ 				valueOfPreference: aMessage selector
+ 				ifAbsent: [super doesNotUnderstand: aMessage]]!
- 		ifFalse: [self valueOfPreference: aMessage selector]!



More information about the Squeak-dev mailing list