[squeak-dev] The Trunk: Monticello-jr.721.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jun 9 13:18:02 UTC 2020

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

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

Name: Monticello-jr.721
Author: jr
Time: 8 June 2020, 10:06:03.128513 pm
UUID: d9653e55-12d4-0e4e-8455-506eacc23d5f
Ancestors: Monticello-jr.720

Load class traits and scripts in the dynamically bound Environment, not always in the default Environment.

=============== Diff against Monticello-mt.719 ===============

Item was changed:
  ----- Method: MCClassDefinition>>requirements (in category 'comparing') -----
  	^superclassName == #nil
  		ifTrue: [self poolDictionaries]
+ 		ifFalse: [{ superclassName }, self poolDictionaries,
+ 			(self hasTraitComposition
+ 				ifTrue: [(Scanner new scanTokens: self traitComposition) flattened select: [:each | each first isUppercase]]
+ 				ifFalse: [#()])].!
- 		ifFalse: [{ superclassName }, self poolDictionaries]!

Item was changed:
  ----- Method: MCClassTraitDefinition>>load (in category 'installing') -----
+ 	Compiler evaluate: self definitionString environment: Environment current!
- 	Compiler evaluate: self definitionString!

Item was changed:
  ----- Method: MCScriptDefinition>>evaluate (in category 'installing') -----
+ 	Compiler evaluate: script environment: Environment current!
- 	Compiler evaluate: script!

More information about the Squeak-dev mailing list