[squeak-dev] The Inbox: ShoutCore-tpr.59.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Aug 16 22:31:58 UTC 2017

tim Rowledge uploaded a new version of ShoutCore to project The Inbox:

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

Name: ShoutCore-tpr.59
Author: tpr
Time: 16 August 2017, 3:31:37.498742 pm
UUID: 88fc7c09-2574-451d-817f-2b1289f62ae7
Ancestors: ShoutCore-ul.58

#sharedPools was making a Set with included nils, which means that SHParserST80>resolvePartial: breaks when 'c sharedPools do:[.... is used.
	This change prevents the obscene spectacle of a Set with deliberately included nils.

=============== Diff against ShoutCore-ul.58 ===============

Item was changed:
  ----- Method: SHMCClassDefinition>>sharedPools (in category 'act like a class') -----
  	| d |
  	d := Set new.
  	classDefinition poolDictionaries do:[:each |
+ 		Smalltalk at: each asSymbol ifPresent:[:v| d add: v] ].
- 		d add: (Smalltalk at: each asSymbol ifAbsent:[nil]) ].

More information about the Squeak-dev mailing list