Minor, fix test data
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// see KT-8942
|
||||
interface Trait {
|
||||
fun <A, B : Runnable, E : Map.Entry<A, B>> foo() where B : Cloneable, B : Comparable<B>
|
||||
}
|
||||
|
||||
-3
@@ -1,6 +1,3 @@
|
||||
// ERROR: 'foo' overrides nothing
|
||||
// ERROR: Class 'TraitImpl' must be declared abstract or implement abstract member public abstract fun <A, B : java.lang.Runnable, E : kotlin.Map.Entry<A, B>> foo(): kotlin.Unit where B : kotlin.Cloneable, B : kotlin.Comparable<B> defined in Trait
|
||||
// see KT-8942
|
||||
interface Trait {
|
||||
fun <A, B : Runnable, E : Map.Entry<A, B>> foo() where B : Cloneable, B : Comparable<B>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user