Comment Comment by the_alchemist Scala happily accepts null as it is the bottom type for AnyRef and needed for jvm compatibility. Kotlin has a compiler check that enforces it, Scala does not. parent the_alchemist 6 years ago