Merge pull request #94025 from dalexeev/gds-fix-implicit-cast-typed-array-param

GDScript: Fix implicit cast to typed array when passing parameter
This commit is contained in:
Rémi Verschelde
2024-07-09 16:47:20 +02:00
3 changed files with 25 additions and 3 deletions
@@ -0,0 +1,7 @@
# GH-93990
func test_param(array: Array[String]) -> void:
print(array.get_typed_builtin() == TYPE_STRING)
func test() -> void:
test_param(PackedStringArray())
@@ -0,0 +1,2 @@
GDTEST_OK
true