Skip to content

Commit c58bd12

Browse files
dimonchik0036Space Team
authored andcommitted
[stubs] bump stub versions for compatibility reasons
We need to cherry-pick (KTIJ-36534) a bunch of stub-related changes to `kt-253` branch, but the problem is that we cannot cherry-pick all stub-related changes that were done in `master` after branching and before KT-82527 is fixed. In particular, we have: - 2092c64 - 835c929 - ffc04e4 - 583a1db - 1875702 To work around this problem and not cause issues with stub versioning, the solution is to bump the version in both `master` and `kt-253` in the following way: 1. version in `kt-253` has to be set higher than in `master` right now (the current version is ~210) 2. all new versions in `kt-253` must not have overlap with versions in `master` 3. version in `master` has to be set even higher than in kt-253 with a gap to leave a place for more potential version increases in `kt-253` To do so, the decision is to set such versions: - `kt-253` would have 225 as the source and 205 as the binary version - `master` would have 250 as the source and 230 as the binary version
1 parent 8c000ae commit c58bd12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/psi/psi-api/src/org/jetbrains/kotlin/psi/stubs/KotlinStubVersions.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ object KotlinStubVersions {
1313
* if you are not 100% sure it can be avoided.
1414
* Increasing this version will lead to reindexing of all kotlin source files on the first IDE startup with the new version.
1515
* */
16-
const val SOURCE_STUB_VERSION = 210
16+
const val SOURCE_STUB_VERSION = 250
1717

1818
/**
1919
* Binary stub version should be increased if stub format (org.jetbrains.kotlin.psi.stubs.impl) is changed
2020
* or changes are made to the core stub building code (org.jetbrains.kotlin.idea.decompiler.stubBuilder).
2121
* Increasing this version will lead to reindexing of all binary files that are potentially kotlin binaries (including all class files).
2222
* */
23-
private const val BINARY_STUB_VERSION = 187
23+
private const val BINARY_STUB_VERSION = 230
2424

2525
/**
2626
* Classfile stub version should be increased if changes are made to classfile stub building subsystem (org.jetbrains.kotlin.idea.decompiler.classFile)

0 commit comments

Comments
 (0)