summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/runtime
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2023-09-29 22:43:56 +0300
committerDanil Alexeev <danil@alexeev.xyz>2023-09-30 13:57:09 +0300
commitba96d4f63160a0c20f35906ecb536dbb2ae53f94 (patch)
tree45cc41f11711f6bf564bdc18286bbcde10d1bdd5 /modules/gdscript/tests/scripts/runtime
parent19890614c6a78ec36030ce65c7da05f07fcdb9ed (diff)
downloadredot-engine-ba96d4f63160a0c20f35906ecb536dbb2ae53f94.tar.gz
GDScript: Fix `UNSAFE_CALL_ARGUMENT` warning for `Variant` constructors
Diffstat (limited to 'modules/gdscript/tests/scripts/runtime')
-rw-r--r--modules/gdscript/tests/scripts/runtime/features/stringify.gd1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gdscript/tests/scripts/runtime/features/stringify.gd b/modules/gdscript/tests/scripts/runtime/features/stringify.gd
index 1e66d8f34a..0dbb252b0e 100644
--- a/modules/gdscript/tests/scripts/runtime/features/stringify.gd
+++ b/modules/gdscript/tests/scripts/runtime/features/stringify.gd
@@ -24,7 +24,6 @@ func test():
print(StringName("hello"))
print(NodePath("hello/world"))
var node := Node.new()
- @warning_ignore("unsafe_call_argument")
print(RID(node)) # TODO: Why is the constructor (or implicit cast) not documented?
print(node.get_name)
print(node.property_list_changed)