kotlinx-atomicfu
kotlinx-atomicfu copied to clipboard
Prohibit to use atomicfu for public API (public & protected)
The ideal solution is providing custom checks for frontend. Harder to implement since it requires a new integration, but will provide the best DX -- early error, including inside IDE.
Acceptable solution -- report diagnostic from the backend. Simpler to implement, but likely still requires to extend current API, anyway it's better than crash the compiler or a user application.