Skip to content

Fix: A KSP result of a proxied Kotlin class is that class's proxy - #111

Merged
b-re-w merged 4 commits into
developfrom
feat/ksp-class-proxy
Oct 3, 2026
Merged

b-re-w merged 4 commits into
developfrom
feat/ksp-class-proxy

Conversation

@b-re-w

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

Copy link
Copy Markdown
Member

Closes #94

Defect fixed: _pm_own always returned a generic _PmObject; it now looks up the class renderClass registered for the declared return type and builds that proxy (no Kotlin constructor call), so methods and properties work on returned instances (SPEC U-11). Ownership logic untouched.
Test added: KspClassResultProxyTest (3). Red without the fix: all 3 failed. Verification (coordinator, separate modules): plugin 265/0, desktopTest 592/0, ksp artifact 35/0, app 73/0, compose 115/0, androidNative 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