[Pkg] The Trunk: Kernel-ar.416.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Mar 5 07:42:25 UTC 2010

Andreas Raab uploaded a new version of Kernel to project The Trunk:

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

Name: Kernel-ar.416
Author: ar
Time: 4 March 2010, 11:41:31.743 pm
UUID: fb8636b8-5285-5a41-a94a-c698a256552f
Ancestors: Kernel-ar.415

Remove last remaining uses of SyntaxError to indicate non-interactive compile.

=============== Diff against Kernel-ar.415 ===============

Item was changed:
  ----- Method: ClassDescription>>logMethodSource:forMethodWithNode:inCategory:withStamp:notifying: (in category 'private') -----
  logMethodSource: aText forMethodWithNode: aCompiledMethodWithNode inCategory: category withStamp: changeStamp notifying: requestor
  	| priorMethodOrNil newText |
  	priorMethodOrNil := self compiledMethodAt: aCompiledMethodWithNode selector ifAbsent: [].
+ 	newText := (requestor notNil
- 	newText := ((requestor == nil or: [requestor isKindOf: SyntaxError]) not
  						and: [Preferences confirmFirstUseOfStyle])
  			ifTrue: [aText askIfAddStyle: priorMethodOrNil req: requestor]
  			ifFalse: [aText].
  	aCompiledMethodWithNode method putSource: newText
  		fromParseNode: aCompiledMethodWithNode node
  		class: self category: category withStamp: changeStamp 
  		inFile: 2 priorMethod: priorMethodOrNil.!

More information about the Packages mailing list