shared - i need it to be useful

Nicholas Wilson iamthewilsonator at hotmail.com
Sun Oct 21 19:20:55 UTC 2018


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.


More information about the Digitalmars-d mailing list