False.st
branchjv
changeset 17732 a1892eeca6c0
parent 17728 bbc5fa73dfab
child 17761 b0e5971141bc
--- a/False.st	Fri Aug 28 12:38:51 2009 +0100
+++ b/False.st	Sat Oct 24 16:48:19 2009 +0100
@@ -60,16 +60,20 @@
 
 and:aBlock
     "evaluate aBlock if the receiver is true.
-     (since the receiver is false return false).
+     (since the receiver is known to be false here, always return false here).
      Notice:
-	This method is open coded (inlined) by the compiler(s)
-	- redefining it may not work as expected."
+        This method is open coded (inlined) by the compiler(s)
+        - redefining it may not work as expected."
 
     ^ self
 !
 
 and:block1 and:block2
-    "return false"
+    "evaluate block1 if the receiver is true; if that also returns true, evaluate block2.
+     (since the receiver is known to be false here, always return false here).
+     Notice:
+        This method is open coded (inlined) by the compiler(s)
+        - redefining it may not work as expected."
 
     ^ self
 !
@@ -231,5 +235,6 @@
 !False class methodsFor:'documentation'!
 
 version
-    ^ '$Id: False.st 10467 2009-08-19 16:14:36Z vranyj1 $'
+    ^ '$Id: False.st 10473 2009-10-24 15:48:19Z vranyj1 $'
 ! !
+