Skip to content

Commit

Permalink
FIX: wrong assertion in string.red
Browse files Browse the repository at this point in the history
  • Loading branch information
qtxie authored and dockimbel committed May 16, 2020
1 parent b0996f6 commit 172c5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/datatypes/string.reds
Original file line number Diff line number Diff line change
Expand Up @@ -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][
Expand Down

0 comments on commit 172c5fb

Please sign in to comment.