Skip to content

compiler error on removeElement #6555

Open

Description

See https://makecode.com/_iCHbzjdcJfiw

let list = [ 1, 2, 3];
[2].forEach(rid => list.removeElement(rid));

Compile for hardware to see error:

error TS9200: expecting procedure for removeElement(...) (shim=Array_::removeElement)

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

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions