johncarl81 / transfuse

:syringe: Transfuse - A Dependency Injection and Integration framework for Google Android
http://androidtransfuse.org/
Apache License 2.0
220 stars 28 forks source link

demo swallowed compile error #198

Closed dbachelder closed 8 years ago

dbachelder commented 8 years ago

In this commit I have a class Thingy that does not compile (unassigned final variable) but the only error output is related to the component I am attempting to inject it in. If the compile error is deep in the object graph this can be a difficult problem to track down.

./gradlew clean build

.... 
Note: RBridge: Annotation procesing started, round 1
Note: RBridge: Found 0 classes annotated by @Bridge
Note: RBridge: Took 0ms to process
/Users/dan/dev/projects/zumper/transfuse/examples/gradle/testlibrary/src/main/java/com/example/john/testlibrary/LibraryActivity.java:30: error: cannot find symbol
    Thingy thingy;
    ^
  symbol:   class Thingy
  location: class LibraryActivity
/Users/dan/dev/projects/zumper/transfuse/examples/gradle/testlibrary/src/main/java/com/example/john/testlibrary/LibraryActivity.java:33: error: cannot find symbol
    public LibraryActivity(Thingy thingy) {
                           ^
  symbol:   class Thingy
  location: class LibraryActivity
Note: RBridge: Annotation procesing started, round 2
Note: RBridge: Found 0 classes annotated by @Bridge
Note: RBridge: Took 0ms to process
error: Transfuse: Code generation did not complete successfully.  For more details add the compiler argument -AtransfuseStacktrace
3 errors
:testlibrary:compileDebugJavaWithJavac FAILED
...