[Pkg] SystemEditor: SystemEditor-mtf.122.mcz

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Wed Oct 1 18:30:09 UTC 2008

A new version of SystemEditor was added to project SystemEditor:

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

Name: SystemEditor-mtf.122
Author: mtf
Time: 1 October 2008, 10:07:51 am
UUID: cc361021-990a-4f0d-9b76-f4d39c3b36f2
Ancestors: SystemEditor-mtf.121

fixed a bug in syntax error dialogs in 3.10

=============== Diff against SystemEditor-mtf.121 ===============

Item was changed:
  ----- Method: MethodEditor>>compileFor: (in category 'building') -----
  compileFor: aClassEditor
  	| node method |
  	node := aClassEditor compilerClass new
  				compile: source
  				in: aClassEditor product
  				notifying: requestor
  				ifFail: nil.
  	node encoder requestor: self.
  	method := node generate: #(0 0 0 0).
  	method selector: node selector.
  	^ method
  ] on: SyntaxErrorNotification do: [:ex |
+ 	"In 3.10, the class category needs to be set"
+ 	ex instVarNamed: #category put: aClassEditor category.
  	"Let the user install the fixed code into the system"
+ 	ex outer.
- 	ex defaultAction.
  	"Now fetch and use that code instead"
  	source := aClassEditor product sourceCodeAt: self selector ifAbsent: [^ nil].
  	^ aClassEditor product compiledMethodAt: self selector

More information about the Packages mailing list