You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java code generated via CodeGenerator is not visible to java sources in the app.
So if you have some java source code in app that depends on to be generated code, it won't see the generated code unless it is in kotlin.
The other combinations work fine.
To clarify:
src: kotlin generated: kotlin <- works
src: kotlin generated: java <- works
src: java generated: kotlin <- works
src: java generated: java <- does not work
The text was updated successfully, but these errors were encountered:
The initial abstraction for XProcessing ignored the Filer
API since it is an interface. This CL changes it to have
an abstraction in XProcessing instead to avoid re-implementing
full Filer API in KSP.
Also added a test for code generation. Unfortunately, KSP
does not yet support access to generated code from java sources.
google/ksp#119
Fortunately, it won't affect Room as we don't require access
to generated code.
Bug: 160322705
Test: XProcessingEnvTest.generateCode
Change-Id: I953a17cd857b7360d12269ccda1fe3c6b0489906
Java code generated via
CodeGenerator
is not visible to java sources in the app.So if you have some java source code in app that depends on to be generated code, it won't see the generated code unless it is in kotlin.
The other combinations work fine.
To clarify:
src: kotlin generated: kotlin <- works
src: kotlin generated: java <- works
src: java generated: kotlin <- works
src: java generated: java <- does not work
The text was updated successfully, but these errors were encountered: