https://issues.dlang.org/show_bug.cgi?id=13710

--- Comment #3 from Steven Schveighoffer <[email protected]> ---
It's not just with alias this. Any modification of a member variable outside
using the methods can result in breaking the invariant.

I think it's not a bad idea to mention the pitfalls, but I don't think alias
this is special in that regard.

--

Reply via email to