Files
kotlin-fork/analysis/analysis-api/testData/components/callResolver/resolveCall/variableAsFunctionWithParameterNameAnnotationConflict2.kt
T
Roman Golyshev 564e408434 KT-50862 Add name property to KtSignature
See the KDoc of the property for the reasons why
it was created
2022-01-29 07:42:17 +00:00

5 lines
185 B
Kotlin
Vendored

// @ParameterName annotation takes precedence over name in function type parameter
fun call(x: (@ParameterName("first") @ParameterName("second") Int) -> Unit) {
<expr>x(1)</expr>
}