Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interfaces's extensions not generated #42

Open
Merseyside opened this issue Apr 3, 2022 · 1 comment
Open

Interfaces's extensions not generated #42

Merseyside opened this issue Apr 3, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Merseyside
Copy link

Extensions not generated for interfaces and interface's implementations.
https://github.com/Merseyside/mersey-kmp-time/blob/master/time/src/commonMain/kotlin/com/merseyside/merseyLib/time/ext/ZonedTimeUnitExt.kt (generates as expected in extensions swift block because ZonedTimeUnit doesn't extend any interface)
https://github.com/Merseyside/mersey-kmp-time/blob/master/time/src/commonMain/kotlin/com/merseyside/merseyLib/time/ext/TimeUnitExt.kt (generates separately with class name of kotlin file contains extensions)

Example of usage: https://github.com/Merseyside/mersey-kmp-time/blob/master/ios-app-swiftui/ios-app-swiftui/TimeTest.swift

@Alex009 Alex009 added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Apr 3, 2022
@ubuntudroid
Copy link

Same for sealed classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants