Runtime checks only take effect at -Onone. Even if you explicitly ask for
checks via -enforce-exclusivity=checked, they will be stripped (with a warning
from the driver).
Support for dynamic checking at -O is something that will be considered post
Swift 4.
-Andy
> On Jun 1, 2017, at 4:47 PM,
Hi swift-dev,
PR-9995 enables exclusivity runtime checks:
https://github.com/apple/swift/pull/9995
These checks catch violations of exclusivity that can't be discovered
statically [0], printing the message:
"Simultaneous accesses to 0x*, but modification requires exclusive access."
The error m