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

Try generating expression functions interface as function interface #48

Open
jbee opened this issue Feb 18, 2024 · 0 comments
Open

Try generating expression functions interface as function interface #48

jbee opened this issue Feb 18, 2024 · 0 comments

Comments

@jbee
Copy link
Collaborator

jbee commented Feb 18, 2024

The ExpressionFunctions interface originally was a Java functional interface with many default methods. After changing the source to kotlin MP the generated Java class is no longer a functional interface. This seems to require using compiler flags as described https://blog.jetbrains.com/kotlin/2020/07/kotlin-1-4-m3-generating-default-methods-in-interfaces/#jvmdefaultwithoutcompatibility

See also https://youtrack.jetbrains.com/issue/KT-63908

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

No branches or pull requests

1 participant