[FIR JS] KT-51740: Alter positioning of NO_VALUE_FOR_PARAMETER
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
// !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER
|
||||
|
||||
fun test(x: () -> Unit, y: () -> Unit) {
|
||||
|
||||
}
|
||||
|
||||
fun main() {
|
||||
<!NO_VALUE_FOR_PARAMETER!>test {
|
||||
1
|
||||
} <!MANY_LAMBDA_EXPRESSION_ARGUMENTS!>{
|
||||
2
|
||||
}<!><!>
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER
|
||||
|
||||
fun test(x: () -> Unit, y: () -> Unit) {
|
||||
|
||||
Reference in New Issue
Block a user