Implicit callable type check refactoring, additional check for property with explicit Nothing type

This commit is contained in:
Mikhail Glukhikh
2015-12-22 20:25:26 +03:00
parent 6b8b39a7bd
commit 15746cbf56
6 changed files with 31 additions and 15 deletions
@@ -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() {