[Issue 6297] cast() does not remove const or immutable on arrays and pointers
https://issues.dlang.org/show_bug.cgi?id=6297 Steven Schveighoffer changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Steven Schveighoffer --- I have no idea what I was thinking those 13 years ago. OK to close ;) --
[Issue 6297] cast() does not remove const or immutable on arrays and pointers
https://issues.dlang.org/show_bug.cgi?id=6297 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org --- Comment #1 from Nick Treleaven --- The spec (now) says: > Casting with no type or qualifiers removes any top level const, immutable, > shared or inout type modifiers from the type of the UnaryExpression https://dlang.org/spec/expression.html#cast_qualifier Note 'top level'. So I think this is invalid. --
[Issue 6297] cast() does not remove const or immutable on arrays and pointers
https://issues.dlang.org/show_bug.cgi?id=6297 Iain Buclaw changed: What|Removed |Added Priority|P2 |P4 --