diff --git a/runtime/datatypes/string.reds b/runtime/datatypes/string.reds index 77f6bad0ee..06ce19a9b5 100644 --- a/runtime/datatypes/string.reds +++ b/runtime/datatypes/string.reds @@ -994,7 +994,7 @@ string: context [ (as byte-ptr! s1/offset) + (offset << (log-b unit1)) + h1 ] either all [keep? diff?][ - assert s1 <> s1 + assert s1 <> s2 p2: (as byte-ptr! s2/offset) + h2 limit: p2 + (size2 << (log-b unit2)) while [p2 < limit][