stc bug workaround jk_new_structure
authorvranyj1
Thu, 23 Aug 2012 10:12:51 +0000
branchjk_new_structure
changeset 1672 9548e5b17895
parent 1671 080fb3d3b6c8
child 1673 b9a05759b7fd
stc bug workaround
src/JavaConstants.st
--- a/src/JavaConstants.st	Thu Aug 23 09:08:53 2012 +0000
+++ b/src/JavaConstants.st	Thu Aug 23 10:12:51 2012 +0000
@@ -107,42 +107,60 @@
 
 ACC_ABSTRACT
 
-    ^ACC_ABSTRACT
+    "/ Using crappy 'self classVarAt:#ACC_ABSTRACT' because of
+    "/ yet another bug in stc
+    "/ ^ACC_ABSTRACT
+    ^self classVarAt:#ACC_ABSTRACT
 
     "Created: / 22-08-2012 / 10:53:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 ACC_FINAL
 
-    ^ACC_FINAL
+    "/ Using crappy 'self classVarAt:#ACC_ABSTRACT' because of
+    "/ yet another bug in stc
+    "/ ^ACC_FINAL
+    ^self classVarAt:#ACC_FINAL
 
     "Created: / 22-08-2012 / 10:53:50 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 ACC_PRIVATE
 
-    ^ACC_PRIVATE
+    "/ Using crappy 'self classVarAt:#ACC_ABSTRACT' because of
+    "/ yet another bug in stc
+    "/ ^ACC_PRIVATE
+    ^self classVarAt:#ACC_PRIVATE
 
     "Created: / 22-08-2012 / 10:54:06 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 ACC_PROTECTED
 
-    ^ACC_PROTECTED
+    "/ Using crappy 'self classVarAt:#ACC_ABSTRACT' because of
+    "/ yet another bug in stc
+    "/ ^ACC_PROTECTED
+    ^self classVarAt:#ACC_PROTECTED
 
     "Created: / 22-08-2012 / 12:13:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 ACC_PUBLIC
 
-    ^ACC_PUBLIC
+    "/ Using crappy 'self classVarAt:#ACC_ABSTRACT' because of
+    "/ yet another bug in stc
+    "/ ^ACC_PUBLIC
+    ^self classVarAt:#ACC_PUBLIC
 
     "Created: / 22-08-2012 / 10:53:55 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 ACC_SUPER
 
-    ^ACC_SUPER
+    "/ Using crappy 'self classVarAt:#ACC_ABSTRACT' because of
+    "/ yet another bug in stc
+    "/ ^ACC_SUPER
+    ^self classVarAt:#ACC_SUPER
 
     "Created: / 22-08-2012 / 10:54:02 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !