You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I could tell, the precise rules enforced by the alias checker are not documented. I may well be wrong about this, but I searched the tutorial and reference manual for the word "alias" without success. This makes it hard to explain to people why a particular expression is or is not considered immutably rooted and so forth. We ought to have a chapter in the reference manual we can point to (perhaps even as part of the compiler error message). I guess @marijnh is by far the best qualified to write such a thing (both in the sense of being capable of a clear explanation and in the sense of being the one who understands that code the best). Perhaps we ought to wait until we decide what we are doing about regions, though. Anyway, if such a thing already exists, please close this bug and let me know where it is.
The text was updated successfully, but these errors were encountered:
Marking as likely-obsolete / should-close, since I think this component is slated for removal when we move to region-checking for this sort of safety-enforcement. Agreed?
As far as I could tell, the precise rules enforced by the alias checker are not documented. I may well be wrong about this, but I searched the tutorial and reference manual for the word "alias" without success. This makes it hard to explain to people why a particular expression is or is not considered immutably rooted and so forth. We ought to have a chapter in the reference manual we can point to (perhaps even as part of the compiler error message). I guess @marijnh is by far the best qualified to write such a thing (both in the sense of being capable of a clear explanation and in the sense of being the one who understands that code the best). Perhaps we ought to wait until we decide what we are doing about regions, though. Anyway, if such a thing already exists, please close this bug and let me know where it is.
The text was updated successfully, but these errors were encountered: