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)
- @BindsInstance on Component.Factory supertype lambda parameters HOT 1
- SecurityException when trying to run UI test with hilt and Jetpack Compose on Android 14 HOT 3
- BadParcelableException in Activity onCreate HOT 3
- Dagger 2.50 KSP fails to generate field in implementation for a @Named field HOT 2
- Conflicting documentation for dagger.android and Hilt optional inject HOT 3
- [KSP] dagger-android hanging indefinitely on a large multi module project HOT 2
- Optional bindings in a parent component can sometimes use bindings from child components HOT 2
- NullPointerException dagger.spi.shaded.androidx.room.compiler.processing.XTypeElement.getAnnotation HOT 6
- Problem with Injection of DAO HOT 1
- error: [Hilt] Could not get element for com.foo.viewModels.FooViewModel_HiltModules.BindsModule: java.lang.NullPointerException HOT 1
- Missing release notes for 2.51 HOT 1
- `LazyClassKey` doesn't work when providing a `Map<Class<*>, Provider<?>` with a scope
- @AssistedInject in ViewModel using Dagger (NOT Hilt, just dagger) does not compile: cannot be provided without an @Inject constructor or an @Provides-annotated method HOT 6
- [issue] Dagger doesn't compile or doesn't give a right error message when ViewModelFactory is implemened on Kotlin rather than on Java HOT 4
- Having an issue with Dagger Hilt Proguard Rules HOT 12
- Following dagger.dev tutorial doesnt create singleton in v2.51 HOT 2
- Multibinding with Nested Complex Keys uses the wrong AnnotationCreator HOT 1
- [Hilt] onCreate() in my Application doesn't called on Instrument test HOT 4
- [Dagger-Hilt] Error when applying obfuscation other than Proguard (Allatori) HOT 3
- error: [Hilt] Expected @AndroidEntryPoint to have a value HOT 3
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.