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

Alex sascha.orlov at gmail.com
Sat Sep 8 07:30:35 UTC 2018


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...


More information about the Digitalmars-d-learn mailing list