Skip to content

added workaround for https://youtrack.jetbrains.com/issue/KT-30289#339

Open
woggioni wants to merge 1 commit intopuniverse:masterfrom
woggioni:master
Open

added workaround for https://youtrack.jetbrains.com/issue/KT-30289#339
woggioni wants to merge 1 commit intopuniverse:masterfrom
woggioni:master

Conversation

@woggioni
Copy link
Copy Markdown

this should fix quasar issue with Kotlin 1.3, the idea is to instrument any static synthetic method whose name ends with $default if it comes after a suspendable method with the same name (except for the $default suffix) and a similar signature (more details about it will follow).

I did some manual testing and it seems to work, it relies on the fact that the Kotlin compiler writes the $default methods only after their base counterparts (which could be problematic since, although this is the current behavior, there is no guarantee around its stability).

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