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

Set Object is not supported in Espruino - Interpreter Listeners #9

Open
SimonGAndrews opened this issue Aug 17, 2022 · 2 comments
Open
Labels
Espruino port change to enable execution in Espruino

Comments

@SimonGAndrews
Copy link
Owner

image

The above error occurs in Espruino when running test_basicInterpreter.js

Espruino does not support the Set Object.

@SimonGAndrews SimonGAndrews added the Espruino port change to enable execution in Espruino label Aug 17, 2022
@SimonGAndrews
Copy link
Owner Author

Change listners from Set object to standard object as follows:
image

and:
image

@SimonGAndrews
Copy link
Owner Author

SimonGAndrews commented Aug 17, 2022

Passes regression tests.
However , Further testing and work required:

  • Set Object would not allow two listeners with the same key - not implemented yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Espruino port change to enable execution in Espruino
Projects
None yet
Development

No branches or pull requests

1 participant