Fixed processing function type parameters in override/implement members.
#KT-1603 fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
trait Trait {
|
||||
fun <A, B : Runnable, E : java.util.Map.Entry<A, B>> foo() where B : Cloneable, B : Comparable<B>;
|
||||
}
|
||||
|
||||
class TraitImpl : Trait {
|
||||
<caret>
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
import java.util.Map
|
||||
|
||||
trait Trait {
|
||||
fun <A, B : Runnable, E : java.util.Map.Entry<A, B>> foo() where B : Cloneable, B : Comparable<B>;
|
||||
}
|
||||
|
||||
class TraitImpl : Trait {
|
||||
|
||||
override fun <A, B : Runnable, E : Map.Entry<A, B>> foo()
|
||||
where B : Cloneable, B : Comparable<B> {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user