Are singletons not allowed anymore? I updated to `...
# javascript
h
Are singletons not allowed anymore? I updated to
2025.6.11
and now I get
Copy code
org.jetbrains.kotlin.util.FileAnalysisException: While analysing Authentication.kt:47:1: org.jetbrains.kotlin.utils.exceptions.KotlinIllegalArgumentExceptionWithAttachments: Exception in declaration checker

Caused by: java.lang.IllegalStateException: Symbol for Any not found
For every top level
object
declaration like
Copy code
object Foo {
  val bar: Bar
}
where there is no
Any
? EDIT Okay I cleaned and invalidated everything and it doesn't come up for now. I'll check back once the migration is fixed. Edit2 I get the error with Kotlin 2.1.0, but not with 2.2.0, but migrating to 2.2.0 is much work now. sigh.
c
Report it to kotl.in/issue, that's a compiler crash, it should never happen no matter what code you write