FIR: Fix exception caused by empty supertypes of java.lang.Object
This commit is contained in:
committed by
TeamCityServer
parent
7eb0fd4762
commit
9d9f191f51
+14
@@ -0,0 +1,14 @@
|
||||
FILE: UsingObject.kt
|
||||
public final class A : R|kotlin/Any| {
|
||||
public constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public final fun foo(): R|A?| {
|
||||
^foo Null(null)
|
||||
}
|
||||
public final fun main(): R|kotlin/Unit| {
|
||||
lval w: R|kotlin/Any| = R|/foo|() ?: Q|java/lang|.R|java/lang/Object.Object|()
|
||||
R|<local>/w|.R|kotlin/Any.hashCode|()
|
||||
}
|
||||
Reference in New Issue
Block a user