Implicit callable type check refactoring, additional check for property with explicit Nothing type
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
fun fn(): Nothing = throw java.lang.RuntimeException("oops")
|
||||
|
||||
val x = throw java.lang.RuntimeException("oops")
|
||||
val x: Nothing = throw java.lang.RuntimeException("oops")
|
||||
|
||||
class SomeClass {
|
||||
fun method() {
|
||||
|
||||
Reference in New Issue
Block a user