quickfix to move type constraint to 'where' clause
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
// "Move type parameter constraint to 'where' clause" "true"
|
||||
class A<<caret>T : Cloneable> where T : Comparable<*> {
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Move type parameter constraint to 'where' clause" "true"
|
||||
class A<T> where T : Cloneable, T : Comparable<*> {
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Move type parameter constraint to 'where' clause" "true"
|
||||
fun <<caret>T : Cloneable> foo() where T : Comparable<*> {
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Move type parameter constraint to 'where' clause" "true"
|
||||
fun <T> foo() where T : Cloneable, T : Comparable<*> {
|
||||
}
|
||||
Reference in New Issue
Block a user