why would it be a bad idea? strictly for JVM inter...
# language-proposals
z
why would it be a bad idea? strictly for JVM interop? Currently, it’s not simple to return a
sealed class
. I don’t think expected the Java code to do a bunch of
instanceof
checks and casting is acceptable.