Check that injection with annotation on parameter doesn't trigger not-stubbed psi

This commit is contained in:
Nikolay Krasko
2016-04-26 19:55:51 +03:00
parent dd8b667360
commit b8e2533b58
4 changed files with 26 additions and 6 deletions
@@ -0,0 +1,8 @@
package annotated.parameter
import util.funWithAnnotatedParameter
fun foo() {
val t = "literal"
funWithAnnotatedParameter(t)
}
+6 -1
View File
@@ -46,4 +46,9 @@ fun funWithVararg(vararg i: Int): IntArray {
fun <T, G> funWithWhere(a: G, b: T) where T: Collection<G> {
}
}
annotation class TempAnnotation
fun funWithAnnotatedParameter(@TempAnnotation param: String) {
}