dmd 2.066(rc) generates warning: 'Deprecation: Read-modify-write operations are not allowed for shared variables. Use core.atomic.atomicOp!"-="(a, 1) instead.' for following code:
synchronized {
++a;
}
Is that correct given that it's inside synchronized?