You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-30 16:26:50 +00:00
GDScript: Fix UNSAFE_CALL_ARGUMENT warning for Variant constructors
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user