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

Detect inconsistencies between module versions #2494

Closed
qwwdfsad opened this issue Jan 25, 2021 · 1 comment
Closed

Detect inconsistencies between module versions #2494

qwwdfsad opened this issue Jan 25, 2021 · 1 comment

Comments

@qwwdfsad
Copy link
Member

qwwdfsad commented Jan 25, 2021

While we're providing stability and compatibility guarantees across different versions of the library, we do not try to make various modules of the coroutines compatible across major updates.

This is an expected invariant, but it still would be nice to detect modules versions inconsistencies in the runtime because they may lead to obscure and subtle bugs (e.g. #2450).

The key idea is to leverage class initialization and check statically shipped "core" version along with each module

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

1 participant