Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPDATE_KOTLIN_VERSION: 2.0.0-dev-6573 #1595

Merged
merged 3 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,8 @@ subprojects {
}
)
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
compilerOptions.freeCompilerArgs.add("-Xskip-prerelease-check")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ class IncrementalContext(

logSourceToOutputs(outputs, sourceToOutputs)

sourceToOutputsMap.flush(false)
sourceToOutputsMap.flush()
}

private fun updateOutputs(outputs: Set<File>, cleanOutputs: Collection<File>) {
Expand Down Expand Up @@ -474,15 +474,15 @@ class IncrementalContext(
update(symbolsMap, updatedSymbols)
remove(symbolsMap, removed)
} else {
symbolsMap.clean()
symbolsMap.clear()
update(symbolsMap, updatedSymbols)

sealedMap.clean()
sealedMap.clear()
update(sealedMap, updatedSealed)
}
symbolsMap.flush(false)
symbolsMap.flush()
symbolsMap.close()
sealedMap.flush(false)
sealedMap.flush()
sealedMap.close()
}

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Copied from kotlinc
org.gradle.jvmargs=-Duser.country=US -Dkotlin.daemon.jvm.options=-Xmx2200m -Dfile.encoding=UTF-8

kotlinBaseVersion=2.0.0-dev-4562
kotlinBaseVersion=2.0.0-dev-6573
agpBaseVersion=7.0.0
intellijVersion=213.7172.25
junitVersion=4.13.1
junit5Version=5.8.2
junitPlatformVersion=1.8.2
googleTruthVersion=1.1

aaKotlinBaseVersion=2.0.0-dev-4562
aaKotlinBaseVersion=2.0.0-dev-6573
aaIntellijVersion=213.7172.25
aaGuavaVersion=29.0-jre
aaAsmVersion=9.0
Expand Down
5 changes: 4 additions & 1 deletion kotlin-analysis-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ dependencies {
"org.jetbrains.kotlin:symbol-light-classes-for-ide",
"org.jetbrains.kotlin:analysis-api-standalone-for-ide",
"org.jetbrains.kotlin:high-level-api-impl-base-for-ide",
"org.jetbrains.kotlin:kotlin-compiler-for-ide",
"org.jetbrains.kotlin:kotlin-compiler-common-for-ide",
"org.jetbrains.kotlin:kotlin-compiler-fir-for-ide",
"org.jetbrains.kotlin:kotlin-compiler-fe10-for-ide",
"org.jetbrains.kotlin:kotlin-compiler-ir-for-ide",
).forEach {
implementation("$it:$aaKotlinBaseVersion") { isTransitive = false }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import org.jetbrains.kotlin.psi.KtScript
import org.jetbrains.kotlin.psi.KtTypeAlias

class IncrementalKotlinDeclarationProvider(var del: KotlinDeclarationProvider) : KotlinDeclarationProvider() {
override fun computePackageSetWithTopLevelCallableDeclarations(): Set<String> {
override fun computePackageSetWithTopLevelCallableDeclarations(): Set<String>? {
return del.computePackageSetWithTopLevelCallableDeclarations()
}

Expand Down
14 changes: 7 additions & 7 deletions kotlin-analysis-api/testData/parent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@
// parent of <set-?>: b.setter()
// parent of b.setter(): b
// parent of b: topClass
// parent of topClass: synthetic constructor for topClass
// parent of synthetic constructor for topClass: topClass
// parent of Any: InnerClass
// parent of Any?: P
// parent of P: InnerClass
Expand All @@ -145,14 +147,14 @@
// parent of InnerClass<*>: synthetic constructor for InnerClass
// parent of Any?: P
// parent of synthetic constructor for InnerClass: InnerClass
// parent of topClass: synthetic constructor for topClass
// parent of synthetic constructor for topClass: topClass
// parent of CMYK: CMYK
// parent of CMYK: INVARIANT CMYK
// parent of INVARIANT CMYK: Enum
// parent of Enum: Enum<CMYK>
// parent of Enum<CMYK>: CMYK
// parent of CMYK: File: a.kt
// parent of CMYK: synthetic constructor for CMYK
// parent of synthetic constructor for CMYK: CMYK
// parent of C: CMYK
// parent of M: CMYK
// parent of Y: CMYK
Expand All @@ -167,14 +169,15 @@
// parent of EnumEntries<CMYK>: entries.getter()
// parent of entries.getter(): entries
// parent of entries: CMYK
// parent of CMYK: synthetic constructor for CMYK
// parent of synthetic constructor for CMYK: CMYK
// parent of YUV: YUV
// parent of YUV: INVARIANT YUV
// parent of INVARIANT YUV: Enum
// parent of Enum: Enum<YUV>
// parent of Enum<YUV>: YUV
// parent of YUV: null
// parent of YUV: YUV
// parent of YUV: <init>
// parent of <init>: YUV
// parent of Y: YUV
// parent of U: YUV
// parent of V: YUV
Expand Down Expand Up @@ -202,9 +205,6 @@
// parent of EnumEntries<YUV>: entries.getter()
// parent of entries.getter(): entries
// parent of entries: YUV
// parent of YUV: YUV
// parent of YUV: <init>
// parent of <init>: YUV
// parent of HSV: (HSV..HSV?)
// parent of (HSV..HSV?): INVARIANT (HSV..HSV?)
// parent of INVARIANT (HSV..HSV?): Enum
Expand Down
6 changes: 3 additions & 3 deletions kotlin-analysis-api/testData/visibilities.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@
// LibEnumJava: <init>: PRIVATE
// LibEnumJava: values: PUBLIC
// LibEnumJava: valueOf: PUBLIC
// LibEnum: <init>: PRIVATE
// LibEnum: values: PUBLIC
// LibEnum: valueOf: PUBLIC
// LibEnum: <init>: PRIVATE
// Enum: <init>: PRIVATE
// Enum: values: PUBLIC
// Enum: valueOf: PUBLIC
// KtEnum: <init>: PRIVATE
// KtEnum: values: PUBLIC
// KtEnum: valueOf: PUBLIC
// KtEnum: <init>: PRIVATE
// KtEnumWithVal: <init>: PRIVATE
// KtEnumWithVal: values: PUBLIC
// KtEnumWithVal: valueOf: PUBLIC
// KtEnumWithVal: <init>: PRIVATE
// END

// MODULE: lib
Expand Down
Loading