Raw FIR: add Any/Enum/Annotation to supertypes iff no supertypes exists
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
FILE: Base.kt
|
||||
public abstract interface First {
|
||||
public abstract interface First : R|kotlin/Any| {
|
||||
}
|
||||
public open class Second : R|kotlin/Any| {
|
||||
public constructor(): super<R|kotlin/Any|>()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FILE: Strange.kt
|
||||
<out T> public abstract interface Strange {
|
||||
<out T> public abstract interface Strange : R|kotlin/Any| {
|
||||
public abstract fun foo(): R|T|
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ FILE: jvm.kt
|
||||
}
|
||||
|
||||
}
|
||||
public abstract interface Y {
|
||||
public abstract interface Y : R|kotlin/Any| {
|
||||
public open fun baz(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user