We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
val maybeNull: String | Null = null val optionStr: Option[String] = Option(maybeNull)
Returns the error
Found: (maybeNull : String | Null) Required: String
It compiles