Remove unresolve 'erased' annotation
This commit is contained in:
+1
-1
@@ -3,6 +3,6 @@ package test
|
|||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
public open class MethodWithTypeParameters : Object() {
|
public open class MethodWithTypeParameters : Object() {
|
||||||
public open fun <erased A, erased B : Runnable> foo(p0 : A, p1 : List<B>, p2: MutableList<in String?>) where B : List<Cloneable> {
|
public open fun <A, B : Runnable> foo(p0 : A, p1 : List<B>, p2: MutableList<in String?>) where B : List<Cloneable> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -3,6 +3,6 @@ package test
|
|||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
public open class WrongTypeParameterBoundStructure1 : Object() {
|
public open class WrongTypeParameterBoundStructure1 : Object() {
|
||||||
public open fun <erased A, erased B : Runnable?> foo(p0 : A?, p1 : List<B>?) where B : List<Cloneable>? {
|
public open fun <A, B : Runnable?> foo(p0 : A?, p1 : List<B>?) where B : List<Cloneable>? {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -3,6 +3,6 @@ package test
|
|||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
public open class WrongTypeParameterBoundStructure2 : Object() {
|
public open class WrongTypeParameterBoundStructure2 : Object() {
|
||||||
public open fun <erased A, erased B : Runnable?> foo(p0 : A?, p1 : List<B>?) where B : List<Cloneable>? {
|
public open fun <A, B : Runnable?> foo(p0 : A?, p1 : List<B>?) where B : List<Cloneable>? {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -3,6 +3,6 @@ package test
|
|||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
public open class WrongTypeParametersCount : Object() {
|
public open class WrongTypeParametersCount : Object() {
|
||||||
public open fun <erased A, erased B> foo(p0 : A?, p1 : List<B>?) {
|
public open fun <A, B> foo(p0 : A?, p1 : List<B>?) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user