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

Code Linter for non-supported constructs #181

Open
michbarsinai opened this issue Jan 30, 2022 · 0 comments
Open

Code Linter for non-supported constructs #181

michbarsinai opened this issue Jan 30, 2022 · 0 comments

Comments

@michbarsinai
Copy link
Member

Some options in Rhino cannot be used in BPjs, due to the latter's heavy reliance on continuation serializations. For example:

  • as iterators can't be serialized, any bp.sync in a .forEach call will fail
  • arrow functions can't be serialized (no bp.sync there either)
  • Conditional constructs can't be serialized

To prevent developers from stumbling over these bugs, we need a linter that will warn them when they do this. We also expect the list to be dynamic, so the deign need to support easy addition and removal of items.

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

No branches or pull requests

1 participant