Browse Source

Change string's identity hash to receiver + 's'

Nicolas Petton 10 years ago
parent
commit
87540053cd
2 changed files with 4 additions and 4 deletions
  1. 3 3
      js/Kernel-Collections.js
  2. 1 1
      st/Kernel-Collections.st

+ 3 - 3
js/Kernel-Collections.js

@@ -3960,12 +3960,12 @@ fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
 var $1;
-$1=self;
+$1=self.__comma("s");
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"identityHash",{},smalltalk.String)})},
 args: [],
-source: "identityHash\x0a\x09^ self",
-messageSends: [],
+source: "identityHash\x0a\x09^ self, 's'",
+messageSends: [","],
 referencedClasses: []
 }),
 smalltalk.String);

+ 1 - 1
st/Kernel-Collections.st

@@ -1219,7 +1219,7 @@ escaped
 !
 
 identityHash
-	^ self
+	^ self, 's'
 !
 
 size