Fix "PSI/index mismatch" in case of @ParameterName on non-functional types (KT-34524)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// IntelliJ API Decompiler stub source generated from a class file
|
||||
// Implementation of methods is not available
|
||||
|
||||
package test
|
||||
|
||||
public inline fun <A, B, C : kotlin.Any, D> test.Foo.Companion.foo(crossinline block: test.Context<B, C>.(A, B) -> D): kotlin.Unit { /* compiled code */ }
|
||||
@@ -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) {}
|
||||
Reference in New Issue
Block a user