暗黙的な Nothing? 型を持つ変数と関数を報告します。

例:


  fun foo() = null

クイックフィックスを使用すると、戻り値の型が明示的に指定されます。


  fun foo(): Nothing? = null