On Sunday, 21 October 2018 at 19:07:37 UTC, Nicholas Wilson wrote:
On Sunday, 21 October 2018 at 09:50:09 UTC, Walter Bright wrote:
Your proposal makes that impossible because the compiler would allow unshared data to be implicitly typed as shared.

Yes, but not the other way around.

Whoops that should read

Your proposal makes that impossible

No

because the compiler would allow unshared data to be implicitly typed as shared.

Yes, but the problem you describe is arises from implicit conversion in the other direction, which is not part of the proposal.

Reply via email to