We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Invalid code is generated when an interface uses a typealias as a type paramter.
typealias SomeTypeAlias = TypeA<out TypeB> @GenerateMutableModel interface UiState { val list: List<SomeTypeAlias> }
Generated code
public fun MutableUiState( list: List<SomeTypeAlias<out TypeB>> )
Expected
public fun MutableUiState( list: List<SomeTypeAlias> )
The text was updated successfully, but these errors were encountered:
Thanks for reporting this @tevjef
Sorry, something went wrong.
This is already a reported bug at KSP: google/ksp#1011. Once this is officially fixed, we can fix here too. Till the time, this is blocked
No branches or pull requests
Invalid code is generated when an interface uses a typealias as a type paramter.
Generated code
Expected
The text was updated successfully, but these errors were encountered: