1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Merge pull request #53479 from vnen/gdscript-subscript-object-self

This commit is contained in:
Rémi Verschelde
2021-10-06 19:48:23 +02:00
committed by GitHub
3 changed files with 16 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
# https://github.com/godotengine/godot/issues/43221
extends Node
func test():
name = "Node"
print(self["name"])
self["name"] = "Changed"
print(name)

View File

@@ -0,0 +1,3 @@
GDTEST_OK
Node
Changed