Merge pull request #61279 from Trioct/fix-typed-array-assignment
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
func test():
|
||||
const arr: Array[int] = ["Hello", "World"]
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_ANALYZER_ERROR
|
||||
Assigned value for constant "arr" has type Array[String] which is not compatible with defined type Array[int].
|
||||
Reference in New Issue
Block a user