Merge pull request #948 from shiraji/quick_fix_for_final_upper_bound_2
KT-13674 Add quickfix to remove the final upper bound
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
// "Remove final upper bound" "true"
|
||||
|
||||
data class DC<T : Int<caret>>(val x: T, val y: String)
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Remove final upper bound" "true"
|
||||
|
||||
data class DC<T>(val x: T, val y: String)
|
||||
@@ -0,0 +1,7 @@
|
||||
// "Remove final upper bound" "true"
|
||||
|
||||
data class DC(val x: Int, val y: String) {
|
||||
fun <S : Int<caret>> foo(b: S) {
|
||||
val a: S = b
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// "Remove final upper bound" "true"
|
||||
|
||||
data class DC(val x: Int, val y: String) {
|
||||
fun <S> foo(b: S) {
|
||||
val a: S = b
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user