Skip to content

Commit

Permalink
UPDATE_AA_VERSION: 2.1.0-dev-7621
Browse files Browse the repository at this point in the history
(cherry picked from commit c0dae69)
  • Loading branch information
ting-yuan authored and KSP Auto Pick committed Oct 18, 2024
1 parent 4c489c9 commit 0385163
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ junit5Version=5.8.2
junitPlatformVersion=1.8.2
googleTruthVersion=1.1

aaKotlinBaseVersion=2.1.0-dev-5441
aaKotlinBaseVersion=2.1.0-dev-7621
aaIntellijVersion=233.13135.103
aaGuavaVersion=33.2.0-jre
aaAsmVersion=9.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class KSPropertyDeclarationImpl private constructor(internal val ktPropertySymbo
return@lazy ktPropertySymbol.hasBackingField
val classId = when (
val containerSource =
(ktPropertySymbol as? KaFirKotlinPropertySymbol)?.firSymbol?.containerSource
(ktPropertySymbol as? KaFirKotlinPropertySymbol<*>)?.firSymbol?.containerSource
) {
is JvmPackagePartSource -> containerSource.classId
is KotlinJvmBinarySourceElement -> containerSource.binaryClass.classId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ class IncrementalJavaFileManager(val environment: KotlinCoreProjectEnvironment)

singleJavaFileRoots.addAll(newSingleJavaFileRoots)

rootsIndex = JvmDependenciesDynamicCompoundIndex().apply {
addIndex(JvmDependenciesIndexImpl(roots))
rootsIndex = JvmDependenciesDynamicCompoundIndex(true).apply {
addIndex(JvmDependenciesIndexImpl(roots, true))
}

val corePackageIndex = project.getService(PackageIndex::class.java) as CorePackageIndex
Expand Down Expand Up @@ -103,7 +103,7 @@ class IncrementalJavaFileManager(val environment: KotlinCoreProjectEnvironment)
singleJavaFileRoots.addAll(newSingleJavaFileRoots)

rootsIndex.apply {
addIndex(JvmDependenciesIndexImpl(roots))
addIndex(JvmDependenciesIndexImpl(roots, true))
}

val corePackageIndex = project.getService(PackageIndex::class.java) as CorePackageIndex
Expand Down

0 comments on commit 0385163

Please sign in to comment.