Fix "PSI/index mismatch" in case of @ParameterName on non-functional types (KT-34524)

This commit is contained in:
Yan Zhulanow
2020-03-05 20:33:07 +09:00
parent d86b54a2f1
commit ef698a5747
11 changed files with 54 additions and 20 deletions
@@ -0,0 +1,10 @@
@file:JvmName("ParameterName")
package test
class Foo {
companion object
}
class Context<T, U>
inline fun <A, B, C : Any, D> Foo.Companion.foo(crossinline block: Context<B, C>.(input: A, state: B) -> D) {}