IDEA Community doesn't see standard functions of Kotlin
Answered
Hi there,
That is a weird problem. IDEA highlights "mutableMapOf" (and some other) as an unresolved reference, however the project is built without any problems. Could anyone suggest what's going on?
IDEA 2020.2.2
Kotlin 1.3.72
Gradle-based project
I already tried "Reload all projects" in Gradle view, "Invalidate caches and restart", it doesn't seem to help.

Please sign in to leave a comment.
Try updating to Kotlin plug-in 1.4 version. Also try to delete the System directory: https://www.jetbrains.com/help/idea/tuning-the-ide.html#system-directory.
If the issue persists, file a bug at https://youtrack.jetbrains.com/newIssue?project=KT with the sample project and the logs attached (Help | Collect Logs and Diagnostic Data).
Thanks, Serge,
It didn't help but you gave me the clue. Once I removed Gradle cache (rm -fr ~/.gradle/caches/), the issue disappeared