Skip to content

Array cannot be Un-Typed, or Array.is_typed() is broken. #72347

Closed as not planned
@rambda

Description

Godot version

4.0.beta.16

System information

N/A

Issue description

var typed_array: Array[Node] = []
var array : Array = typed_array
print(array.is_typed())
print((typed_array as Array).is_typed())
var array2 : Array[Variant] = typed_array
print(array2.is_typed())
print((typed_array as Array[Variant]).is_typed())

All prints true

Steps to reproduce

N/A

Minimal reproduction project

godot.4.0.beta15.bugs.0.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions