You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calinou
changed the title
trying to return a typed array with an array of a diffent type
GDScript 2.0: "Trying to return a typed array with an array of a differnt type"
Apr 13, 2022
1xch
changed the title
GDScript 2.0: "Trying to return a typed array with an array of a differnt type"
GDScript 2.0: "Trying to return a typed array with an array of a different type"
Apr 13, 2022
Encountered this issue in 4.0.alpha6
I made a Array[BaseTag] variable catch a function that returns Array[BaseTag], yet the error occurs. It works when I made the function return an untyped Array.
Godot version
4.0.alpha6.official.e4f0fc50f
System information
Linux Ubuntu 20.04
Issue description
Project launched with F5 stops running with breakpoint error:
trying to return a typed array with an array of a diffent type.'
Steps to reproduce
In short for illustration purposes here, this function:
goes through the below funcs:
editor breakpoint error occurs at the return of build_keys with the cooccuring terminal output is:
The accumulator is going in as Array[CNF] and coming out as Array[CNF].
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: