Skip to content

Fix: Stub types for extension composables, object functions and nested object-constant types - #67

Merged
b-re-w merged 6 commits into
developfrom
work/stub-types
Oct 3, 2026
Merged

b-re-w merged 6 commits into
developfrom
work/stub-types

Conversation

@b-re-w

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

Copy link
Copy Markdown
Member

Closes #53

Defect fixed

  • Extension composables' parameter tags were shifted by one (receiver slot), so NavigationBarItem.colors was typed bool; receiverBoundaryTag now set.
  • Kotlin object instance functions (Arrangement.spacedBy) were never bound; now bound under the object's name for Kotlin-public objects (internal/file-private objects skipped; Any members, @JvmStatic duplicates excluded; @composable members declined).
  • Object constants whose type is nested in the object (Alignment.Horizontal) were stubbed Any.

Test added: ObjectStubTest (6), ObjectMemberBindingTest (7), ComposableBindingTest +1. Red observed without the fix: 7 plugin failures; the internal-object case was caught by the :ksp-fixtures:compose compile (90 'internal in file' errors) before the visibility fix.

Verification (coordinator, after merging develop incl. #38, each module separately): plugin 223/0, desktopTest 561/0, ksp artifact 35/0, app 70/0, compose 111/0, androidNative compile OK.

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