[squeak-dev] The Trunk: Kernel-ar.436.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 30 04:03:00 UTC 2010


Andreas Raab uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ar.436.mcz

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

Name: Kernel-ar.436
Author: ar
Time: 29 March 2010, 9:02:14.348 pm
UUID: d85068dc-e213-1149-81df-1f71ed09846c
Ancestors: Kernel-ar.435

Fix failing traits condenseChanges test. Since we do not share compiled methods, moving *all* trait methods (instead of just 'local' ones) is CORRECT behavior.

=============== Diff against Kernel-ar.435 ===============

Item was changed:
  ----- Method: ClassDescription>>moveChangesTo: (in category 'fileIn/Out') -----
  moveChangesTo: newFile 
  	"Used in the process of condensing changes, this message requests that 
  	the source code of all methods of the receiver that have been changed 
  	should be moved to newFile."
  
  	| changes |
  	changes := self methodDict keys select: [:sel |
+ 		(self compiledMethodAt: sel) fileIndex > 1].
- 		(self compiledMethodAt: sel) fileIndex > 1 and: [
- 			(self includesLocalSelector: sel) or: [
- 				(self compiledMethodAt: sel) sendsToSuper]]].
  	self
  		fileOutChangedMessages: changes
  		on: newFile
  		moveSource: true
  		toFile: 2!




More information about the Squeak-dev mailing list