We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This generates incorrect code
interface IFoo { @Inject companion object : IFoo } @Component abstract class MyComponent { abstract val foo: IFoo val IFoo.Companion.bind: IFoo @Provides get() = this }
expected:
class InjectMyComponent : MyComponent { override val foo: IFoo get() = IFoo.bind }
actual:
class InjectMyComponent : MyComponent { override val foo: IFoo get() = IFoo.Companion().bind }
The text was updated successfully, but these errors were encountered:
Fix generated code for @Inject on a companion object
0d2b78e
Fixes #106
935688e
Successfully merging a pull request may close this issue.
This generates incorrect code
expected:
actual:
The text was updated successfully, but these errors were encountered: