## Compiler version 3.5.2 ## Minimized example ```Scala //> using options -Yexplicit-nulls class Foo Option[Foo](null) ``` ## Output Gives a type error that expected `Foo` but got `Null`. Fine, except the point of `Option.apply` is that it is a null-safe wrapper into `Option`. ## Expectation Realistically, its type *needs* to be `def apply[A](x: A | Null): Option[A]` when that flag is turned on, otherwise it's now useless.