Fix null Java type argument problem & add relevant test

This commit is contained in:
Mikhail Glukhikh
2019-03-01 12:10:05 +03:00
parent 7563a98999
commit fb788dc4c0
14 changed files with 52 additions and 18 deletions
@@ -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|
}