Skip to content

Clear caches before early exit#1986

Merged
ting-yuan merged 2 commits into
google:mainfrom
ting-yuan:objcache-in-test
Jul 3, 2024
Merged

Clear caches before early exit#1986
ting-yuan merged 2 commits into
google:mainfrom
ting-yuan:objcache-in-test

Conversation

@ting-yuan

Copy link
Copy Markdown
Contributor

Fixes #1939

@ting-yuan ting-yuan requested a review from neetopia July 2, 2024 22:30

@TestMetadata("ObjCacheA.kt")
@Test
fun testObjCacheA() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name suggests objCache, I assume it means the caches in psi manager as suggested by the code above rather than the KSP's own object cache?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it is KSP's object cache. PSI and AA caches need to be cleared too.

@ting-yuan ting-yuan merged commit dc38b13 into google:main Jul 3, 2024
@ting-yuan ting-yuan deleted the objcache-in-test branch October 11, 2024 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[KSP2] KSPropertyDeclaration.hasBackingField returns inconsistent results

3 participants