Skip to content

Fix: A companion module is callable when a factory shares its name (TextRange(2)) - #104

Merged
b-re-w merged 4 commits into
developfrom
work/companion-factory
Oct 3, 2026
Merged

b-re-w merged 4 commits into
developfrom
work/companion-factory

Conversation

@b-re-w

@b-re-w b-re-w commented Oct 3, 2026

Copy link
Copy Markdown
Member

Closes #78

Defect fixed: androidx.compose.ui.text.TextRange was both the companion-constants child module (TextRange.Zero) and the factory overload set (TextRange__Int); the module won and was not callable. A name that is both is now a callable module (U-8); stubs declare it as a callable Protocol carrying the module's members (B-7).
Verification (coordinator, after merging develop, separate modules): plugin 271/0, desktopTest 595/0, ksp artifact 35/0, app 70/0, compose 116/0, androidNative OK; regenerated Compose stubs pass tools/stubs/check-stubs.sh (mypy).

@b-re-w
b-re-w merged commit 7e7241c into develop Oct 3, 2026
@b-re-w
b-re-w deleted the work/companion-factory branch October 3, 2026 10:29
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