[Issue 21190] generated strings should convert to immutable char *
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 18 02:41:23 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21190
--- Comment #3 from RazvanN <razvan.nitu1305 at gmail.com> ---
(In reply to Steven Schveighoffer from comment #2)
> 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.
Yeah, it's definitely a bug. And a weird one also.
--
More information about the Digitalmars-d-bugs
mailing list