quickfix to move type constraint to 'where' clause
This commit is contained in:
@@ -63,3 +63,6 @@ class C {
|
||||
|
||||
fun typed<T>() {
|
||||
}
|
||||
|
||||
fun <T : Cloneable> withTypeParameters() where T : Comparable<T> {
|
||||
}
|
||||
|
||||
@@ -62,3 +62,6 @@ class C {
|
||||
|
||||
fun <T> typed() {
|
||||
}
|
||||
|
||||
fun <T> withTypeParameters() where T : Cloneable, T : Comparable<T> {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user