[STUBS] Fix invalid classId calculation for KtObjectLiteralExpression
This commit is contained in:
@@ -24,6 +24,9 @@ internal object ClassIdCalculator {
|
|||||||
is KtClassLikeDeclaration -> {
|
is KtClassLikeDeclaration -> {
|
||||||
containingClasses += element
|
containingClasses += element
|
||||||
}
|
}
|
||||||
|
is KtObjectLiteralExpression -> {
|
||||||
|
return null
|
||||||
|
}
|
||||||
is KtFile -> {
|
is KtFile -> {
|
||||||
ktFile = element
|
ktFile = element
|
||||||
break
|
break
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ object KotlinStubVersions {
|
|||||||
// Though only kotlin declarations (no code in the bodies) are stubbed, please do increase this version
|
// 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.
|
// 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.
|
// 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
|
// 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).
|
// or changes are made to the core stub building code (org.jetbrains.kotlin.idea.decompiler.stubBuilder).
|
||||||
|
|||||||
Reference in New Issue
Block a user