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:
Mikhail Glukhikh
2016-09-12 13:33:37 +04:00
committed by GitHub
7 changed files with 82 additions and 0 deletions
+3
View File
@@ -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
}
}