You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I feel that the code above should be allowed without errors. One argument is that the following code is equivalent but does not raise a clobbering error:
The above examples should both produce 'foo ba>[]<r baz.
In short, I'd suggest that there should be no cloberring error as long as there's at most one of each insert done on a non-empty range, and at most one of each done on an empty range (like in the example above).
Let me know if I should provide a PR for this.
The text was updated successfully, but these errors were encountered:
I feel that
insert_before
andinsert_after
should be revised in light of #399.In particular, the following code currently raises clobbering errors:
I feel that the code above should be allowed without errors. One argument is that the following code is equivalent but does not raise a clobbering error:
The above examples should both produce
'foo ba>[]<r baz
.In short, I'd suggest that there should be no cloberring error as long as there's at most one of each insert done on a non-empty range, and at most one of each done on an empty range (like in the example above).
Let me know if I should provide a PR for this.
The text was updated successfully, but these errors were encountered: