[squeak-dev] The Trunk: Monticello-nice.571.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Sep 20 19:49:53 UTC 2013


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



More information about the Squeak-dev mailing list