removed the DEH symbol ({%).

added new experimental features
 - the signal method to the Error class for simplified error/exception handling
 - the catch method to the BlockContext for simplified error/exception catching instead of the full-fledged on:do
This commit is contained in:
hyunghwan.chung
2017-11-21 15:05:12 +00:00
parent b07cab3874
commit 6177cd6865
5 changed files with 67 additions and 49 deletions

View File

@@ -165,11 +165,11 @@ class(#pointer,#final,#limited) BlockContext(Context)
self primitiveFailed.
}
method ifTrue: aBlock
{
##^(self value) ifTrue: aBlock.
^if (self value) { aBlock value }.
}
method ifFalse: aBlock