[Issue 20076] [2.087.0] structs won't copy when using alias this and being assigned a const instance of said struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 23 16:33:13 UTC 2019


--- Comment #1 from Ethan Watson <gooberman at gmail.com> ---
More digging makes me think instead that because I'm using class objects, it
actually needs a const-removing cast. And since it's not there, it's silently
assuming the alias this is the correct thing to use.

So I can deal with it now at least, but that error message is another case of
"Confusing D error message"


More information about the Digitalmars-d-bugs mailing list