[Pkg] Monticello Public: Monticello.impl-mtf.528.mcz

squeaksource-noreply at iam.unibe.ch squeaksource-noreply at iam.unibe.ch
Wed Jun 11 03:24:39 UTC 2008

A new version of Monticello.impl was added to project Monticello Public:

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

Name: Monticello.impl-mtf.528
Author: mtf
Time: 10 June 2008, 8:22:34 pm
UUID: 773a2793-2fed-415e-b14b-0f64dfd7318a
Ancestors: Monticello.impl-mtf.527

fixed Syntax error dialogs. They now work as expected

=============== Diff against Monticello.impl-mtf.527 ===============

Item was changed:
  ----- Method: MCMethodDefinition>>ensuredCreateCompiledMethod (in category 'compiling') -----
  	"Create the compiled method from my source, or from user-provided source in the event of a syntax error"
  	[ self createCompiledMethod ] on: SyntaxErrorNotification do: [ :ex |
  		"Let the user install the fixed code into the system"
  		ex defaultAction.
  		"Now fetch and use that code instead"
+ 		source := theClass sourceCodeAt: self selector ifAbsent: [^ nil].
+ 		self createCompiledMethod]!
- 		methodAndNode := theClass
- 			compile: (theClass sourceCodeAt: self selector ifAbsent: [^ nil])
- 			classified: self category 
- 			notifying: requestor
- 			trailer: theClass defaultMethodTrailer
- 			ifFail: [^nil].
- 		compiledSelector := methodAndNode selector.
- 		compiledMethod := methodAndNode method.]!

More information about the Packages mailing list