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
commit 92320c9b73
No known key found for this signature in database
GPG key ID: C3336907360768E1
3 changed files with 25 additions and 3 deletions

View file

@ -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())

View file

@ -0,0 +1,2 @@
GDTEST_OK
true