Join Slack
Powered by
What can I do with inline classes for Java interop...
# announcements
m
miha-x64
05/02/2020, 7:47 PM
What can I do with inline classes for Java interop? Currently I have methods returning useless
Object
or
Object[]
, and extensions with hyphen and hash, absolutely unusable from Java.
l
louiscad
05/02/2020, 9:16 PM
Make them non inline, or provide a java targeted overload for Java exposing the wrapped type or a non inline wrapper.
louiscad
05/02/2020, 9:17 PM
First class Java interop with inline classes is not supported, and we don't know if it will ever be.
😢 1
d
David Eriksson
05/03/2020, 9:34 AM
Don't use Java 😉
👎 1
David Eriksson
05/03/2020, 9:34 AM
But as Louis wrote, create a Java-friendly wrapper
3
Views
Open in Slack
Previous
Next