https://kotlinlang.org logo
#intellij
Title
# intellij
c

christophsturm

06/15/2021, 11:51 AM
in one of my source files when i add a serializable annotations to a class instead of offering an auto import idea shows this:
if I manually add the import (import kotlinx.serialization.Serializable) it works
a

Alexey Belkov [JB]

06/15/2021, 2:04 PM
https://youtrack.jetbrains.com/issue/KTIJ-10031 IDE fails to suggest a project declaration import if the name clashes with internal declaration with implicit import from stdlib (ex. @Serializable)
c

christophsturm

06/15/2021, 3:40 PM
thx for the workaround!