unsafeNulls
@compileTimeOnly("`unsafeNulls` can only be used at compile time in import statements") object unsafeNulls
Unsafe Nulls fot Explicit Nulls
Inside the "unsafe" scope, Null
is considered as a subtype of all reference types.
- See also
- Source
- language.scala