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

Kotlin/JS target es2015 not usable with Workers #2688

Open
sgammon opened this issue Sep 11, 2024 · 0 comments
Open

Kotlin/JS target es2015 not usable with Workers #2688

sgammon opened this issue Sep 11, 2024 · 0 comments

Comments

@sgammon
Copy link

sgammon commented Sep 11, 2024

Kotlin has a new es2015 target for Kotlin/JS. But, when used with KotlinX coroutines, the compiler may generate code which uses eval(...); dynamic code evaluation is not allowed on Workers.

It is not clear yet whether this issue arises from code generated by the compiler, or from KotlinX coroutines, or from somewhere else.

I have filed an issue with the Kotlin team corresponding to this one. I don't expect Cloudflare to open up eval(...), so this is just a tracking issue until more information becomes available.

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