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

9 lines
154 B
GDScript3
Raw Normal View History

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