Skip to content

Deprecate BroadcastChannel and the corresponding API #3647

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

Merged
merged 2 commits into from
Mar 3, 2023

Conversation

qwwdfsad
Copy link
Collaborator

Fixes #2680

@@ -3,7 +3,7 @@
*/
@file:JvmMultifileClass
@file:JvmName("ChannelsKt")
@file:Suppress("DEPRECATION_ERROR")
@file:Suppress("DEPRECATION_ERROR", "DEPRECATION")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like this Suppress, it could obscure some real issues eventually. I checked, and the compiler seems pleased if we just add the Suppress to each deprecated method separately: https://gist.github.com/dkhalanskyjb/de271eff5aa3286fd680769e080696f8

@qwwdfsad qwwdfsad requested a review from dkhalanskyjb March 3, 2023 10:27
@qwwdfsad qwwdfsad merged commit bc9850e into develop Mar 3, 2023
@qwwdfsad qwwdfsad deleted the deprecate-broadcast branch March 3, 2023 13:14
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.

2 participants