#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Thu, 26 Jan 2017 14:37:19 +0100
changeset 21312 8d4de974a7fa
parent 21311 faf1ec6afec6
child 21313 056a82337eda
#BUGFIX by cg class: VoidObject renamed to Void (stc does not like lower case globals)
VoidObject.st
--- a/VoidObject.st	Thu Jan 26 14:03:53 2017 +0100
+++ b/VoidObject.st	Thu Jan 26 14:37:19 2017 +0100
@@ -38,7 +38,7 @@
 
 documentation
 "
-    there is only one instance of this class: void,
+    there is only one instance of this class: Void,
     representing a void value.
 
     This is mainly present for Scheme-like read-eval-print loops,
@@ -71,13 +71,14 @@
 !VoidObject class methodsFor:'class initialization'!
 
 initialize
-    Smalltalk at:#void put:(self basicNew).
+    Smalltalk at:#Void put:(self basicNew).
+    Smalltalk at:#void put:(self basicNew). "/ for JavaScript code
 ! !
 
 !VoidObject methodsFor:'printing & storing'!
 
 printOn:aStream
-    aStream nextPutAll:'void'.
+    aStream nextPutAll:'Void'.
 ! !
 
 !VoidObject methodsFor:'queries'!
@@ -86,7 +87,7 @@
     ^ true
 
     "
-     void isVoid
+     Void isVoid
     "
 ! !