Skip to content

Fix generated Hilt module constructors#486

Merged
ansman merged 1 commit into
mainfrom
codex/fix-hilt-module-constructor
Jun 12, 2026
Merged

Fix generated Hilt module constructors#486
ansman merged 1 commit into
mainfrom
codex/fix-hilt-module-constructor

Conversation

@ansman

@ansman ansman commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Stop generating private constructors for abstract Hilt modules that contain binding methods
  • Add a focused Hilt root validation regression test for the generated AutoBind module shape
  • Update generated source fixtures to reflect the public no-arg constructor shape

This fixes #481

Validation

  • ./gradlew :compiler:test

@ansman ansman enabled auto-merge (squash) June 12, 2026 01:16
@ansman ansman merged commit de8fb8a into main Jun 12, 2026
2 checks passed
@ansman ansman deleted the codex/fix-hilt-module-constructor branch June 12, 2026 01:22
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.

Incompatible with metro's dagger/hilt interop

1 participant