Added QuickFix for redundant type projections.
This commit is contained in:
committed by
Evgeny Gerashchenko
parent
e384d4ec96
commit
8d71840255
@@ -0,0 +1,8 @@
|
||||
// "Remove redundant 'out' modifier" "true"
|
||||
class Foo<out T> {
|
||||
val x = 0
|
||||
}
|
||||
|
||||
fun bar(x : Foo<Any>) {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Remove redundant 'in' modifier" "true"
|
||||
class Foo<in T> {
|
||||
val x = 0
|
||||
}
|
||||
|
||||
fun bar(x : Foo<Any>) {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Remove redundant 'out' modifier" "true"
|
||||
class Foo<out T> {
|
||||
val x = 0
|
||||
}
|
||||
|
||||
fun bar(x : Foo< out<caret> Any>) {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Remove redundant 'in' modifier" "true"
|
||||
class Foo<in T> {
|
||||
val x = 0
|
||||
}
|
||||
|
||||
fun bar(x : Foo< in<caret> Any>) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user