mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When a user violates the inout rules by "re-entering" an array that is currently undergoing mutation, it must not admit a memory-safety violation. To ensure that it doesn't, temporarily make the buffer being operated on inaccessible through the original array. Swift SVN r19532
29 KiB
29 KiB