[AA decompiler] Store sealed modifiers in interface stubs
- If the `sealed` modifier is not kept in the interface's stub, a sealed interface will have an `abstract` modality instead, which causes issues with `when` exhaustiveness analysis in K2. - This issue also affected K1, but it was less visible there because `when` exhaustiveness analysis in K1 uses deserialized descriptors. ^KT-62895
This commit is contained in:
committed by
Space Team
parent
5797b4877c
commit
bace053ea9
@@ -17,7 +17,7 @@ object KotlinStubVersions {
|
||||
// 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).
|
||||
// Increasing this version will lead to reindexing of all binary files that are potentially kotlin binaries (including all class files).
|
||||
private const val BINARY_STUB_VERSION = 94
|
||||
private const val BINARY_STUB_VERSION = 95
|
||||
|
||||
// Classfile stub version should be increased if changes are made to classfile stub building subsystem (org.jetbrains.kotlin.idea.decompiler.classFile)
|
||||
// Increasing this version will lead to reindexing of all classfiles.
|
||||
|
||||
Reference in New Issue
Block a user