Js stdlib: noImpl property has 'Nothing' type
This commit is contained in:
@@ -3,7 +3,8 @@ package kotlin.js
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
@native
|
@native
|
||||||
public val <T> noImpl: T = throw Exception()
|
public val noImpl: Nothing
|
||||||
|
get() = throw Exception()
|
||||||
|
|
||||||
@native
|
@native
|
||||||
public fun eval(expr: String): dynamic = noImpl
|
public fun eval(expr: String): dynamic = noImpl
|
||||||
|
|||||||
Reference in New Issue
Block a user