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

Fix issue with missing suspend modifier in KSTypeReference.toTypeName #1793

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

rickclephas
Copy link
Contributor

Since #1742 suspend lambdas are missing their suspend modifier:

param8: suspend () -> String,

1.15.1:

param8: SuspendFunction0<String>,

1.15.2:

param8: () -> String,

@rickclephas
Copy link
Contributor Author

P.S. as far as I can tell annotations weren't supported in 1.15.1 either, so that doesn't seem like a bug (maybe a feature?).

@JakeWharton JakeWharton merged commit 865c742 into square:main Jan 2, 2024
4 checks passed
@rickclephas rickclephas deleted the bugfix/ksp-suspend-lambdas branch January 2, 2024 15:10
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.

2 participants