Skip to content

Regression test for Metro bug#33

Open
vRallev wants to merge 1 commit intomainfrom
ralf/metro-bug
Open

Regression test for Metro bug#33
vRallev wants to merge 1 commit intomainfrom
ralf/metro-bug

Conversation

@vRallev
Copy link
Copy Markdown
Collaborator

@vRallev vRallev commented Mar 12, 2026

Reproduces a bug where @ContributesBinding contributions in the same module as a @DependencyGraph generated by an external FIR extension (@DevelopmentAppComponent) are not discovered during the SUPERTYPES phase.

The @MetroContribution annotation's scope argument can't be resolved at the SUPERTYPES phase for same-module classes in real Gradle compilations, causing the contribution to be silently dropped.

@vRallev vRallev marked this pull request as ready for review March 12, 2026 21:53
Reproduces a bug where `@ContributesBinding` contributions in the same module as a `@DependencyGraph` generated by an external FIR extension (`@DevelopmentAppComponent`) are not discovered during the SUPERTYPES phase.

The `@MetroContribution` annotation's scope argument can't be resolved at the SUPERTYPES phase for same-module classes in real Gradle compilations, causing the contribution to be silently dropped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant