Trouble with receiveOnly and immutable(JSONValue)
schveiguy at gmail.com
Thu Jan 10 20:21:04 UTC 2019
On 1/10/19 2:36 PM, rx wrote:
> On Thursday, 10 January 2019 at 18:25:44 UTC, Steven Schveighoffer wrote:
>> On 1/10/19 1:20 PM, Steven Schveighoffer wrote:
>>> I don't know if there's a specific "can't receive immutable data"
>>> issue report, but certainly, you can add your issue to the list.
>> Actually, this one is nearly identical and quite new, you can just add
>> to that one:
> Thanks Steve. I suppose when the documentation talks about preferring
> message passing immutable data it means just use plain old receive. I
> can just use a template I anyway.
> Would you estimate this Phobos bug to be particularly hard to solve?
Not sure. It would involve casting away immutable, which has to be done
carefully. Probably nobody has had motivation enough to fix it yet.
More information about the Digitalmars-d-learn