[squeak-dev] The Trunk: System-mt.1069.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jul 11 07:21:39 UTC 2019

Marcel Taeumel uploaded a new version of System to project The Trunk:

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

Name: System-mt.1069
Author: mt
Time: 11 July 2019, 9:21:36.166354 am
UUID: 27227430-c08f-3c47-b9fd-b646e7f948b6
Ancestors: System-mt.1068

Fixes minor regression in suggestedTypeNames. That is. 'someMorphThing' should also yield 'MorphThing', not just 'Morph' and 'Thing'.

=============== Diff against System-mt.1068 ===============

Item was changed:
  ----- Method: String>>suggestedTypeNames (in category '*system') -----
  	^ Array streamContents: [:stream |
  		self findFeatureIndicesDo: [:start :end |
  			(self at: start) isUppercase ifTrue: [
  				stream nextPut: (self copyFrom: start to: end).
+ 				end ~= self size ifTrue: [
+ 					stream nextPut: (self copyFrom: start to: self size) withBlanksTrimmed].
  				"Often, argument names that refer to Collections end in the letter s, which can cause the suggested type-name to not be found. Account for this."
  				(self at: end) = $s ifTrue: [
  					stream nextPut: (self copyFrom: start to: end -1)]]]].!

More information about the Squeak-dev mailing list