Skip to content

Fix rank-based binding replacements getting dropped for multi-contribution classes in graph extensions#1584

Merged
ZacSweers merged 6 commits intoZacSweers:mainfrom
JoelWilcox:joel/duplicate-bindings-with-rank-in-graph-extension
Dec 24, 2025
Merged

Fix rank-based binding replacements getting dropped for multi-contribution classes in graph extensions#1584
ZacSweers merged 6 commits intoZacSweers:mainfrom
JoelWilcox:joel/duplicate-bindings-with-rank-in-graph-extension

Conversation

@JoelWilcox
Copy link
Contributor

  • This works around the root issue where we can't access repeated annotations or their Container annotation in IR: https://youtrack.jetbrains.com/issue/KT-83185.
  • Also updates the existing IR merging code to include ContributesBinding.Container annotations once the Kotlin fix is available; then we can just delete the interop code.

…ution classes in graph extensions

- This works around the root issue where we can't access repeated annotations or their Container annotation in IR: https://youtrack.jetbrains.com/issue/KT-83185.
- Also updates the existing IR merging code to include ContributesBinding.Container annotations once the Kotlin fix is available; then we can just delete the interop code.
@ZacSweers ZacSweers enabled auto-merge (squash) December 23, 2025 01:48
… found

- Otherwise we risk a different type of bug where contributions in the merging module are missed.
auto-merge was automatically disabled December 23, 2025 02:31

Head branch was pushed to by a user without write access

JoelWilcox and others added 4 commits December 23, 2025 10:46
…xtension

* main:
  Fix bug preventing scope argument from being used in position other than first (ZacSweers#1589)
  Add binary metrics + limit scenarios tested (ZacSweers#1586)
  Move accesors to be contributed (ZacSweers#1585)
  Introduce `@ComptimeOnly` + stub binds in origin (ZacSweers#1582)
  More benchmark work (ZacSweers#1581)
@ZacSweers ZacSweers enabled auto-merge (squash) December 24, 2025 04:23
@ZacSweers ZacSweers merged commit 73cda28 into ZacSweers:main Dec 24, 2025
17 checks passed
@JoelWilcox JoelWilcox deleted the joel/duplicate-bindings-with-rank-in-graph-extension branch January 8, 2026 22:14
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.

3 participants