The Trunk: Monticello-nice.571.mcz

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

The Trunk: Monticello-nice.571.mcz

commits-2
Nicolas Cellier uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-nice.571.mcz

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

Name: Monticello-nice.571
Author: nice
Time: 20 September 2013, 9:49:17.029 pm
UUID: 76ca45a0-423b-47bf-935a-42eabe9612c8
Ancestors: Monticello-nice.570

Don't pass a category to a Compiler, classifying is not its job.

=============== Diff against Monticello-nice.570 ===============

Item was changed:
  ----- Method: MethodAddition>>createCompiledMethod (in category 'as yet unclassified') -----
  createCompiledMethod
  | notification |
+ [methodAndNode := myClass compile: text asString notifying: requestor
- [methodAndNode := myClass compile: text asString classified: category notifying: requestor
  trailer: myClass defaultMethodTrailer ifFail: [^nil]]
  on: SyntaxErrorNotification do: [:exc |
  notification := exc.
  exc pass].
  notification ifNotNil: [notification newSource ifNotNil: [:newSource | text := newSource]].
  selector := methodAndNode selector.
  compiledMethod := methodAndNode method.
  self writeSourceToLog.
  priorMethodOrNil := myClass compiledMethodAt: selector ifAbsent: [nil].
  !