#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Sun, 03 Mar 2019 19:43:57 +0100
changeset 23822 d25885b26618
parent 23821 f6440feca8f9
child 23823 3bb336d73111
#BUGFIX by cg class: MethodDictionary changed: #atIndex:putKey:andValue:
MethodDictionary.st
--- a/MethodDictionary.st	Sun Mar 03 19:33:10 2019 +0100
+++ b/MethodDictionary.st	Sun Mar 03 19:43:57 2019 +0100
@@ -331,8 +331,8 @@
      when the set of methods is known beforehand 
      (avoids search for nil slots)"
 
-    self basicAt:(idx) put:key.
-    self basicAt:(idx + 1) put:value
+    self basicAt:(idx*2) put:key.
+    self basicAt:(idx*2 + 1) put:value
 
     "Created: / 03-03-2019 / 19:18:44 / Claus Gittinger"
 !