Implicit Nothing return type is now deprecated
This commit is contained in:
+1
-1
@@ -8,4 +8,4 @@ fun test12() {
|
||||
todo()<!UNNECESSARY_SAFE_CALL!>?.<!><!UNREACHABLE_CODE!>bar(1)<!>
|
||||
}
|
||||
|
||||
fun todo() = throw Exception()
|
||||
fun todo(): Nothing = throw Exception()
|
||||
Reference in New Issue
Block a user