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

perf: Make MarkerState stable #235

Closed
wants to merge 1 commit into from

Conversation

DSteve595
Copy link
Contributor

@DSteve595 DSteve595 commented Dec 8, 2022

MarkerState's internal var: Marker? property was causing the class to be marked unstable.
While I think it can safely be marked @Stable as-is, I'd rather have the compiler infer that. I feel better backing it with an actual state value, that way if we later do an actual non-imperative state read it won't break stuff.
Verified stability via compiler report.

Fixes #232 🦕

@wangela wangela requested review from wangela and removed request for arriolac January 9, 2023 21:14
@DSteve595
Copy link
Contributor Author

Superseded by #254

@DSteve595 DSteve595 closed this Jan 18, 2023
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

Successfully merging this pull request may close these issues.

MarkerState behaves in a non-@Stable manner at runtime
2 participants