Skip to content

Commit 929e1bc

Browse files
committed
Fix: did not use updated storage.
1 parent 53a3380 commit 929e1bc

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/str

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/str/StringBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ PDict doString(VirtualFrame frame, Object from, Object to, @SuppressWarnings("un
826826
for (int i = 0; i < fromStr.length(); i++) {
827827
int key = fromStr.charAt(i);
828828
int value = toStr.charAt(i);
829-
storage = setItemNode.execute(frame, translation.getDictStorage(), key, value);
829+
storage = setItemNode.execute(frame, storage, key, value);
830830
}
831831
translation.setDictStorage(storage);
832832

0 commit comments

Comments
 (0)