I know this thing is rather critical and I think it will not be changed, but...
Currently you can call private routines of objects from outside:
At least a warning could be useful.
Currently you can call private routines of objects from outside:
B4X:
[Main]
...
Dim MyObject As clsMyClass
...
CallSub(MyObject, "DoSomething") ' this should NOT work but it does
B4X:
[clsMyClass]
...
Private Sub DoSomething
...
At least a warning could be useful.
Last edited: