[Issue 21190] generated strings should convert to immutable char *

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 17 19:50:14 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=21190

--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> ---
oof! Yeah, it's not valid, but the bug is still valid. Change p declaration to:

const(char)* p = x;

and you now see the single error for the assignment to x4.

--


More information about the Digitalmars-d-bugs mailing list