Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiler error on removeElement #6555

Open
tballmsft opened this issue Feb 7, 2020 · 0 comments
Open

compiler error on removeElement #6555

tballmsft opened this issue Feb 7, 2020 · 0 comments
Assignees

Comments

@tballmsft
Copy link
Contributor

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
Projects
None yet
Development

No branches or pull requests

3 participants