Added quickfix for PROJECTION_ON_NON_CLASS_TYPE_ARGUMENT

This commit is contained in:
Agnieszka Paszek
2013-02-15 18:00:25 +01:00
committed by Evgeny Gerashchenko
parent 50f8948706
commit 7c041d5c94
5 changed files with 25 additions and 0 deletions
@@ -0,0 +1,6 @@
// "Remove 'out' modifier" "true"
fun foo<T>(x : T) {}
fun bar() {
foo<Int>(44)
}
@@ -0,0 +1,6 @@
// "Remove 'in' modifier" "true"
class A<T> {}
class B {
var foo = A<<caret>Int>()
}
@@ -0,0 +1,6 @@
// "Remove 'out' modifier" "true"
fun foo<T>(x : T) {}
fun bar() {
foo<<caret>out Int>(44)
}
@@ -0,0 +1,6 @@
// "Remove 'in' modifier" "true"
class A<T> {}
class B {
var foo = A<<caret>in Int>()
}