You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
KSP: a top-level function in the root package produces an unresolved reference in the generated fragment #319
Found while building fixtures/ios-consumer (#90). A public top-level 'fun runProbe()' with no package declaration is exported; the generated fragment (package python.multiplatform.generated.fragments) calls 'runProbe()' unqualified, and Kotlin cannot import a root-package declaration, so compileKotlin fails: 'Unresolved reference runProbe'. Completion: either bind root-package declarations correctly (e.g. generate the fragment for them in the root package) or skip them with a KSP warning naming the declaration; a processor test with a root-package function, red before.
Activity
Merge pull request #325 from thisisthepy/feat/ksp-root-package
b-re-w commentedon Oct 25, 2026
Landed in develop via #325: root-package declarations are skipped with a KSP warning (they cannot be named from generated code).