Visitar URL original
Fix restoring `KSBackingFieldJavaImpl` as `KSBackingField` by jaschdoc · Pull Request #3305 · google/ksp · GitHub
Skip to content

Fix restoring KSBackingFieldJavaImpl as KSBackingField - #3305

Draft
jaschdoc wants to merge 2 commits into
mainfrom
fix-ksbacking-field-defer
Draft

jaschdoc wants to merge 2 commits into
mainfrom
fix-ksbacking-field-defer

Conversation

@jaschdoc

Copy link
Copy Markdown
Collaborator

Depends on #3304
Fixes #3297

@jaschdoc
jaschdoc force-pushed the fix-ksbacking-field-defer branch from b6e2065 to d21e8b9 Compare November 11, 2026 15:26
The test asserts that deferring a backing field is still the same type.
Previously there was a bug where the KSBackingFieldJavaImpl implementation
restored the symbol as a KSPropertyDeclaration.
@jaschdoc
jaschdoc force-pushed the fix-ksbacking-field-defer branch from d21e8b9 to 585b79e Compare November 11, 2026 15:29
It now restores a KSBackingField instead of a KSPropertyDeclaration.
@jaschdoc
jaschdoc force-pushed the fix-ksbacking-field-defer branch from 585b79e to e799e70 Compare November 11, 2026 15:34
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.

KSBackingFieldJavaImpl restores as KSPropertyDeclaration

1 participant