summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/runtime/errors/invalid_property_assignment.gd
blob: 3724c8c7130484d708171895997bb1f4f63b8e40 (plain)
1
2
3
4
5
6
7
8
9
# https://github.com/godotengine/godot/issues/90086

class MyObj:
    var obj: WeakRef

func test():
    var obj_1 = MyObj.new()
    var obj_2 = MyObj.new()
    obj_1.obj = obj_2