Add test for #KT-28993
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER
|
||||
// !WITH_NEW_INFERENCE
|
||||
|
||||
fun test(x: () -> Unit, y: () -> Unit) {
|
||||
|
||||
}
|
||||
|
||||
fun main() {
|
||||
<!OI;NO_VALUE_FOR_PARAMETER!>test<!> {
|
||||
1
|
||||
} <!MANY_LAMBDA_EXPRESSION_ARGUMENTS!>{
|
||||
2
|
||||
}<!>
|
||||
}
|
||||
Reference in New Issue
Block a user