Closed ItsDeltin closed 4 years ago
class MyClass { AnotherClass anotherClass; public void Test() { // The 'this' here will return 'anotherClass' rather than the current MyClass instance. anotherClass.DoSomething(this); } }
Workaround is to store this:
this
define realThis! = this; anotherClass.DoSomething(realThis);
Fixed in v1.3.