Scala3/Dotty explicit nulls Scala2 interop

137 views Asked by At

I was looking at Dotty documentation and I have a doubt about Explicit Nulls

It seems that it will work with Java interoperability, but what about Scala 2.x libraries?
Will types be String|Null for scala function returning a String or will it assume we will not have a null for them?

0

There are 0 answers