On 18.10.18 20:26, Steven Schveighoffer wrote:
i = 1; int x = i; shared int y = i;This should be fine, y is not shared when being created. However, this still is allowed, and shouldn't be: y = 5; -Steve
I'm pretty sure you will have to allow operations on shared local variables. Otherwise, how are you ever going to use a shared(C)? You can't even call a shared method on it because it involves reading the reference.