The Trunk: Kernel-pre.1026.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-pre.1026.mcz

commits-2
Patrick Rein uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-pre.1026.mcz

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

Name: Kernel-pre.1026
Author: pre
Time: 25 May 2016, 10:25:41.183733 am
UUID: 389c2806-d933-41e0-9dd0-4f4035f3455c
Ancestors: Kernel-mt.1025

Improves argument naming in exception handling methods to make discovery of ExceptionSet easier.

=============== Diff against Kernel-mt.1025 ===============

Item was changed:
  ----- Method: BlockClosure>>on:do: (in category 'exceptions') -----
+ on: exceptionOrExceptionSet do: handlerAction
- on: exception do: handlerAction
  "Evaluate the receiver in the scope of an exception handler."
 
  | handlerActive |
  <primitive: 199>  "just a marker, fail and execute the following"
  handlerActive := true.
  ^ self value!

Item was changed:
  ----- Method: BlockClosure>>on:do:on:do: (in category 'exceptions') -----
+ on: exception1 do: block1 on: exception2 do: block2
- on: exc1 do: block1 on: exc2 do: block2
 
  ^[
  self
+ on: exception1
- on: exc1
  do: block1 ]
+ on: exception2
- on: exc2
  do: block2!

Item was changed:
  ----- Method: BlockClosure>>on:do:on:do:on:do: (in category 'exceptions') -----
+ on: exception1 do: block1 on: exception2 do: block2 on: exception3 do: block3
- on: exc1 do: block1 on: exc2 do: block2 on: exc3 do: block3
 
  ^[
  self
+ on: exception1
- on: exc1
  do: block1 ]
+ on: exception2
- on: exc2
  do: block2
+ on: exception3
- on: exc3
  do: block3!

Item was changed:
  ----- Method: BlockContext>>on:do: (in category 'exceptions') -----
+ on: exceptionOrExceptionSet do: handlerAction
- on: exception do: handlerAction
  "Evaluate the receiver in the scope of an exception handler."
  | handlerActive |
  <primitive: 199>
  handlerActive := true.
  ^self value!

Item was changed:
  ----- Method: BlockContext>>on:do:on:do: (in category 'exceptions') -----
+ on: exception1 do: block1 on: exception2 do: block2
- on: exc1 do: block1 on: exc2 do: block2
 
  ^[
  self
+ on: exception1
- on: exc1
  do: block1 ]
+ on: exception2
- on: exc2
  do: block2!

Item was changed:
  ----- Method: BlockContext>>on:do:on:do:on:do: (in category 'exceptions') -----
+ on: exception1 do: block1 on: exception2 do: block2 on: exception3 do: block3
- on: exc1 do: block1 on: exc2 do: block2 on: exc3 do: block3
 
  ^[
  self
+ on: exception1
- on: exc1
  do: block1 ]
+ on: exception2
- on: exc2
  do: block2
+ on: exception3
- on: exc3
  do: block3!