square/anvil

Multibound collections are empty when declared in a module registered directly with the component

bryanstern opened this issue · 1 comments

Ran into a weird Anvil bug while updating to Kotlin 1.9.0 and KSP 1.9.0-1.0.12 . Seems that multibound sets declared in a module explicitly registered with its component (e.g. @ContributesSubcomponent(modules = [...])) are generated as empty, but works when annotating the module with @ContributesTo.

I'm going to close this. Can't reproduce any more.