Comments (11)
I'm not great at javawriter, yet, so this might be a red herring.
It seems that JavaWriter.sourceReferenceForClassName
or JavaWriter.isImported
could be made aware of the types visible as they are a nested type in a super, using the canonical name in that case.
from dagger.
I'm not sure I can unravel how to fix this quickly, so I've updated w/ a failing test in case someone else can.
from dagger.
Seems like the same or similar to
square/javapoet#77
On Jan 2, 2015 10:12 PM, "Adrian Cole" [email protected] wrote:
I'm not sure I can unravel how to fix this quickly, so I've updated w/ a
failing test in case someone else can.—
Reply to this email directly or view it on GitHub
#98 (comment).
from dagger.
Great! Ok I will try porting that fix.
I know dagger will move to normal javawriter, but a fix will help progress
until then.
from dagger.
port didn't dodge the issue. I've updated with simpler test cases which show at least 2 ways this can happen.
from dagger.
Good tests - it's been some time and the code has been re-written in places - can you try this with current snapshots and see if it's still failing?
from dagger.
sure
from dagger.
sorry to report that this is still the case.
from dagger.
Hey, sorry it took me a while to get to this. This looks really good. Thanks! A few nits here and there, but if we can get it fixed up, we can get it in for the ‡ release (real soon now!).
from dagger.
This has been languishing for faaaar too long. I will verify that this is either fixed and released or apply the fix.
from dagger.
Still broken at head.
from dagger.
Related Issues (20)
- Suppress annotation on @Inject is not honored on the Factory HOT 1
- [KSP2] Dagger and Hilt incompatibility with KSP2 HOT 4
- [KSP2] NullPointerException: null cannot be cast to non-null type androidx.room.compiler.processing.XType HOT 1
- App crashing with NPE for some classes when Lazy Class Key is used HOT 7
- OutOfMemoryError with Maven HOT 1
- DaggerAppComponent not creating in the version 2.51.1 HOT 3
- java.lang.ClassNotFoundException: dagger.spi.shaded.androidx.room.compiler.processing.javac.JavacBasicAnnotationProcessor. Hilt 2.49+ HOT 1
- how to manually generate module HOT 1
- Explain how to add dagger jar files manually to the android project HOT 2
- Annotate interface with default Bind implementation HOT 2
- Transitive vulnerability from symbol-processing-api HOT 1
- java.lang.IllegalArgumentException: CreationExtras must have a value by `SAVED_STATE_REGISTRY_OWNER_KEY` HOT 4
- Update of different dependency: Error "package javax.annotation.processing is not visible" HOT 4
- Compile time error with KSP with Generics HOT 4
- java.lang.IllegalArgumentException: Multiple entries with same key HOT 4
- Execution failed for task ':app:kaptDebugKotlin'. > A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction > java.lang.reflect.InvocationTargetException (no error message) HOT 2
- Stackoverflow when exposing parents of Subcomponents HOT 7
- Hilt not working with android testFixtures? HOT 2
- Hilt 2.44.2 - Class not found when use @AndroidEntryPoint at WidgetReceiver HOT 1
- Nova wallet
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dagger.