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