The Trunk: Kernel-nice.826.mcz

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

The Trunk: Kernel-nice.826.mcz

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

==================== 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'].
  ^object!

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