Map Nothing to java.lang.Void
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
fun box(): String {
|
||||
// jet.Nothing should not be loaded here
|
||||
val x = "" is Nothing
|
||||
return "OK"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
fun box(): String {
|
||||
// This used to be problematic because of an attempt to load jet/Nothing class
|
||||
val x = "" is Nothing?
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user