godot/modules/gdscript/tests/scripts/analyzer/features/subscript_self.gd

9 lines
154 B
GDScript

# https://github.com/godotengine/godot/issues/43221
extends Node
func test():
name = "Node"
print(self["name"])
self["name"] = "Changed"
print(name)