[Pkg] The Trunk: Kernel-nice.826.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Dec 16 15:35:23 UTC 2013

Nicolas Cellier uploaded a new version of Kernel to project The Trunk:

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

Name: Kernel-nice.826
Author: nice
Time: 16 December 2013, 4:33:56.464 pm
UUID: 81cda804-7d00-4520-b8af-07cab07c07d0
Ancestors: Kernel-dtl.825

Use non logging Compiler protocol rather than providing a logged: false argument.

=============== Diff against Kernel-dtl.825 ===============

Item was changed:
  ----- Method: Object class>>readCarefullyFrom: (in category 'instance creation') -----
  readCarefullyFrom: textStringOrStream
  	"Create an object based on the contents of textStringOrStream.  Return an error instead of putting up a SyntaxError window."
  	| object |
  	(Compiler couldEvaluate: textStringOrStream)
  		ifFalse: [^ self error: 'expected String, Stream, or Text'].
  	object := Compiler evaluate: textStringOrStream for: nil 
+ 				notifying: #error: "signal we want errors".
- 				notifying: #error: "signal we want errors" logged: false.
  	(object isKindOf: self) ifFalse: [self error: self name, ' expected'].

Item was changed:
  ----- Method: Object>>evaluateUnloggedForSelf: (in category 'scripting') -----
  evaluateUnloggedForSelf: aCodeString
  	^Compiler evaluate:
+ 		for: self!
- 		for: self
- 		logged: false!

More information about the Packages mailing list