[STUBS] Fix invalid classId calculation for KtObjectLiteralExpression

This commit is contained in:
Igor Yakovlev
2021-07-12 19:41:27 +02:00
parent 6869fbbfe5
commit a0418c3146
2 changed files with 4 additions and 1 deletions
@@ -24,6 +24,9 @@ internal object ClassIdCalculator {
is KtClassLikeDeclaration -> {
containingClasses += element
}
is KtObjectLiteralExpression -> {
return null
}
is KtFile -> {
ktFile = element
break
@@ -23,7 +23,7 @@ object KotlinStubVersions {
// Though only kotlin declarations (no code in the bodies) are stubbed, please do increase this version
// if you are not 100% sure it can be avoided.
// Increasing this version will lead to reindexing of all kotlin source files on the first IDE startup with the new version.
const val SOURCE_STUB_VERSION = 141
const val SOURCE_STUB_VERSION = 142
// Binary stub version should be increased if stub format (org.jetbrains.kotlin.psi.stubs.impl) is changed
// or changes are made to the core stub building code (org.jetbrains.kotlin.idea.decompiler.stubBuilder).