Skip to content

Record class reference dependencies for incremental compilation#3013

Draft
jaschdoc wants to merge 2 commits into
mainfrom
fix-incremental3011
Draft

Record class reference dependencies for incremental compilation#3013
jaschdoc wants to merge 2 commits into
mainfrom
fix-incremental3011

Conversation

@jaschdoc

@jaschdoc jaschdoc commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Adds missing MyClass::class references to the dependency graph. If such references occur in class files then it stores a synthetic file handle for it and restores the symbol representing the type computing dirtiness in a subsequent compilation.

Fixes #3011

jaschdoc added 2 commits July 3, 2026 13:21
This test shows the presence of the bug where KSP does not capture transitive dependencies of class references, e.g., `MyClass::class`.
@jaschdoc jaschdoc force-pushed the fix-incremental3011 branch from 379fdd4 to cf3b074 Compare July 3, 2026 14:42
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.

KSP incremental compilation does not consider library class references in annotations

1 participant