#BUGFIX
authormawalch
Wed, 10 Feb 2016 19:15:09 +0100
changeset 19166 22f1ee605c16
parent 19165 87e7d17b96e1
child 19167 699eef1bc815
child 19168 f09f654da659
#BUGFIX class: Class changed: #containingNameSpace care for non-symbol class name
Class.st
--- a/Class.st	Wed Feb 10 12:27:13 2016 +0100
+++ b/Class.st	Wed Feb 10 19:15:09 2016 +0100
@@ -1022,7 +1022,7 @@
 
     "/ (self nameSpace at:self nameWithoutNamespacePrefix ifAbsent:nil)
     "/ or
-    (Smalltalk at:name) ~~ self ifTrue:[
+    (name isSymbol and:[(Smalltalk at:name) == self]) ifFalse:[
         ^ nil
     ].
     ^ self nameSpace
@@ -1979,6 +1979,7 @@
     "Created: / 18-07-2011 / 09:14:38 / cg"
 ! !
 
+
 !Class methodsFor:'adding & removing'!
 
 removeFromSystem