[Issue 18357] can break immutable with postblit
https://issues.dlang.org/show_bug.cgi?id=18357 Iain Buclaw changed: What|Removed |Added Priority|P1 |P3 --
[Issue 18357] can break immutable with postblit
https://issues.dlang.org/show_bug.cgi?id=18357 --- Comment #3 from anonymous4 --- Postblit should respect type qualifiers the same way const constructor does. --
[Issue 18357] can break immutable with postblit
https://issues.dlang.org/show_bug.cgi?id=18357 Andrei Alexandrescu changed: What|Removed |Added CC||and...@erdani.com --- Comment #2 from Andrei Alexandrescu --- A similar example shows fetching a mutable pointer to immutable data: int* g; struct S { int* x; this(this) { g = x; } } void main() { immutable int* x = new int(42); assert(*x == 42); /* passes */ auto s = immutable S(x); auto s2 = s; /* should be rejected */ } --
[Issue 18357] can break immutable with postblit
https://issues.dlang.org/show_bug.cgi?id=18357 ag0ae...@gmail.com changed: What|Removed |Added CC||ajiesk...@gmail.com --- Comment #1 from ag0ae...@gmail.com --- *** Issue 18561 has been marked as a duplicate of this issue. *** --
[Issue 18357] can break immutable with postblit
https://issues.dlang.org/show_bug.cgi?id=18357 Ketmar Dark changed: What|Removed |Added CC||ket...@ketmar.no-ip.org --