I am writing a UI component and I am not using opt...
# language-proposals
p
I am writing a UI component and I am not using optional, pure mutable references and I am facing a security issue on the source. Since I am declaring the variable inside the
class
as
private
, this variable can be accessed and changed by any function inside this
class
, which is dangerous if another developer don't pay much attention. I would like to know if there is any way to check (I really prefer on compile time) and validated where it's being called.