#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Sun, 30 Jun 2019 03:46:34 +0200
changeset 4454 4e682b3abdae
parent 4453 da91ed5bc7fa
child 4455 ca939ac8475f
#BUGFIX by cg class: Explainer class changed: #explainGlobalOrPoolVariable:inClass:short:
Explainer.st
--- a/Explainer.st	Fri Jun 28 09:12:19 2019 +0200
+++ b/Explainer.st	Sun Jun 30 03:46:34 2019 +0200
@@ -1069,8 +1069,13 @@
     
     "a pool variable?"
     aClassOrNil notNil ifTrue:[
-        aClassOrNil theNonMetaclass sharedPoolNames do:[:eachPoolName |
-            pool := aClassOrNil theNonMetaclass nameSpace at:eachPoolName.
+        |nonMeta|
+
+        nonMeta := aClassOrNil theNonMetaclass.
+        nonMeta sharedPoolNames do:[:eachPoolName |
+            pool := nonMeta nameSpace isNameSpace
+                    ifTrue:[nonMeta nameSpace at:eachPoolName]
+                    ifFalse:[nonMeta topNameSpace at:eachPoolName].
             pool isNil ifTrue:[
                 pool := Smalltalk at:eachPoolName.
             ].    
@@ -1168,7 +1173,7 @@
 
     "Created: / 14-10-2010 / 11:33:04 / cg"
     "Modified: / 16-11-2016 / 13:08:07 / cg"
-    "Modified: / 08-06-2019 / 14:03:42 / Claus Gittinger"
+    "Modified: / 30-06-2019 / 03:46:10 / Claus Gittinger"
 !
 
 explainHereIn:aClassOrNil short:shortText