Mutating an immutable variable: temporary flaw or design decision? #17122
Replies: 4 comments 19 replies
-
The claim that such is a "flaw" is very debatable to bogus. It was originally presented by a user who unceasingly trolls V on other websites, and is an evangelist for a competing language (who hides their affiliation), that appears not bothered by underhandedness. The struct has been set to mutable ( If you don't want the contents of the struct to be mutable, then don't set it as so.
|
Beta Was this translation helpful? Give feedback.
-
Perhaps it would be better to just ask the right person, to get the definitive answer? @medvednikov can you answer the original question posed in this thread? |
Beta Was this translation helpful? Give feedback.
-
This is a bug, just like the Here things are complicated by the array field, so it'll be trickier to fix. |
Beta Was this translation helpful? Give feedback.
-
@JoanaBLate please open an issue on this so it can be fixed. |
Beta Was this translation helpful? Give feedback.
-
Sorry if it's already been discussed; I couldn't find a similar post.
Beta Was this translation helpful? Give feedback.
All reactions