Resolve annotations on parameters of function type

This commit is contained in:
Pavel V. Talanov
2016-01-19 19:05:50 +03:00
parent 7d72875227
commit d72bc78550
4 changed files with 21 additions and 1 deletions
@@ -0,0 +1,3 @@
fun <K, V> intercept(<warning>block</warning>: (<error descr="[UNRESOLVED_REFERENCE] Unresolved reference: A"><error descr="[UNSUPPORTED] Unsupported [annotation on parameter in function type]">@A</error></error> key: K, (K) -> V) -> V) {
}
@@ -0,0 +1,5 @@
fun <K, V> intercept(<warning>block</warning>: (@A K, (K) -> V) -> V) {
}
annotation class A