Open danysantiago opened 5 months ago
In JVM implementation KSP reads from bytecode to determine if a property have a backing field, which is impossible in other platforms. To address this, this information needs to be populated into the metadata of klib.
Given a two module KMP project targeting native with a KSP processor, when inspecting the declaration of a dependency, the declaration properties report that they have no backing field when in fact they do. Only happens when the declaration comes from a dependency.
For example, given the library source:
and consumer module:
and KSP processor applied to
:consumer
:the KSP logs will contain:
This was originally reported in the Room KMP project here: https://issuetracker.google.com/338842136