Added check for extra and missing upper bounds in alternative signatures.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
import java.util.*
|
||||
|
||||
public open class ExtraUpperBound : Object() {
|
||||
public open fun <A : Runnable?> foo() : String? {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user