Merge pull request #61279 from Trioct/fix-typed-array-assignment
This commit is contained in:
commit
6369e495fd
3 changed files with 17 additions and 3 deletions
|
|
@ -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].
|
||||
Loading…
Add table
Add a link
Reference in a new issue