For example, I’d love to add a note to File.outputStream of “This will use the default setting, which is ‘append’” If you need to overwrite the file, consider OutputStreamWriter(FileOutputStream(file, false)).use { ... }
And I’m sure everyone else has plenty of “gotchas” that they only figured out after some pain, and would love to help others with. And, let’s be honest - the Kotlin docs are not the best. (Good luck glancing at the docs for Set and figuring out which functions are Set-specific and which are Collection-generic!) We would all love to chip in and help.
Proposed: Crowdsource it! A link on the docs page that lets anyone (or anyone with an https://discuss.kotlinlang.org/ account) suggest a one-line addition. It would go through a review process before being shown on the site.