Skip to content
0.2.0-dev Download ZIP
10 lines ·189 B Raw
1# https://github.com/godotengine/godot/issues/90086
2
3class MyObj:
4 var obj: WeakRef
5
6func test():
7 var obj_1 = MyObj.new()
8 var obj_2 = MyObj.new()
9 obj_1.obj = obj_2
10 prints(obj_1, obj_2)