The Trunk: Kernel-ar.416.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-ar.416.mcz

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

==================== 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.!