feat: add object escaping on assing to variable in outer env
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class SomeObj {}
|
||||
|
||||
SomeObj obj;
|
||||
|
||||
for (int i = 0; i < 1; i = i + 1)
|
||||
{
|
||||
obj = new SomeObj;
|
||||
}
|
||||
|
||||
bool not_null = (obj != null);
|
||||
printline($"The object {obj} is not null? - {not_null}");
|
||||
|
||||
Reference in New Issue
Block a user