Fix null Java type argument problem & add relevant test
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
public open class Some : R|java/lang/Object|, R|Strange<*>| {
|
||||
public open operator function foo(): R|ft<kotlin/Any, kotlin/Any>|
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
class Derived : Some()
|
||||
@@ -0,0 +1,5 @@
|
||||
FILE: Derived.kt
|
||||
public final class Derived : R|Some| {
|
||||
public constructor(): super<R|Some|>()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public class Some implements Strange {
|
||||
public Object foo() {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
interface Strange<out T> {
|
||||
fun foo(): T
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
FILE: Strange.kt
|
||||
<out T> public abstract interface Strange {
|
||||
public abstract function foo(): R|T|
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user