Js stdlib: noImpl property has 'Nothing' type

This commit is contained in:
Pavel V. Talanov
2015-10-12 21:47:29 +03:00
parent be15399313
commit 2e75f7f103
+2 -1
View File
@@ -3,7 +3,8 @@ package kotlin.js
import java.util.*;
@native
public val <T> noImpl: T = throw Exception()
public val noImpl: Nothing
get() = throw Exception()
@native
public fun eval(expr: String): dynamic = noImpl