Error: expression `update` of type `void` does not have a boolean value

Josphe Brigmo JospheBrigmo at gmail.com
Sat Sep 8 11:26:14 UTC 2018


On Saturday, 8 September 2018 at 07:30:35 UTC, Alex wrote:
> On Saturday, 8 September 2018 at 06:56:40 UTC, Josphe Brigmo 
> wrote:
>>
>> My project does not use the term update at all in any other 
>> context except that one. But I did find:
>>
>> void update(K, V, C, U)(ref V[K] aa, K key, scope C create, 
>> scope U update)
>
> Ok... found something here:
>
> https://dlang.org/changelog/2.082.0.html#require_update
> and here:
> https://dlang.org/spec/hash-map.html#advanced_updating
>
> It seems, they were added in 2.082.0.
>
> No idea why they are conflicting with your existing code, 
> however... And even whether they are the source of conflict...

obviously who ever added it screwed the pooch.



More information about the Digitalmars-d-learn mailing list