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

Example code in languange guide may contain deprecated methods but never pointed out #2305

Closed
michaelfyc opened this issue Oct 15, 2020 · 1 comment
Labels
docs KDoc and API reference

Comments

@michaelfyc
Copy link

My Kotlin-coroutines-core version is 1.3.8. When I tried to run the example code at https://kotlinlang.org/docs/reference/coroutines/select-expression.html#selecting-on-close on my local environment, the IDE pointed out that method onReceiveOrNull has been deprecated. But it was never mentioned even on detailed documentation page. Issue #1676 mentioned this a year ago, but it seems there is no better workaround even till now...
I'm glad to see that Kotlin 1.4.0. is working on the exclusion of the deprecated experimental coroutines. Looking forward to the new documentation that highlights differences between versions.

@elizarov elizarov added the docs KDoc and API reference label Oct 15, 2020
@qwwdfsad
Copy link
Member

Fixed in docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs KDoc and API reference
Projects
None yet
Development

No branches or pull requests

3 participants