[FIR] Adapt positioning of NO_VALUE_FOR_PARAMETER to match K1

This commit is contained in:
Kirill Rakhman
2023-06-23 13:05:49 +02:00
committed by Space Team
parent 6d1d6e48c1
commit 5abab2197b
42 changed files with 70 additions and 194 deletions
@@ -1,7 +1,7 @@
fun test1(f: String.() -> Unit) {
<!NO_VALUE_FOR_PARAMETER!>(f)()<!>
(f)<!NO_VALUE_FOR_PARAMETER!>()<!>
<!NO_VALUE_FOR_PARAMETER!>f()<!>
f<!NO_VALUE_FOR_PARAMETER!>()<!>
}
fun test2(f: (Int) -> Int) {
@@ -6,7 +6,7 @@ fun test1() {
fun test2(f: String.(Int) -> Unit) {
<!ARGUMENT_TYPE_MISMATCH!>11<!>.(f)(1)
11.<!NO_VALUE_FOR_PARAMETER!>(f)()<!>
11.(f)<!NO_VALUE_FOR_PARAMETER!>()<!>
}
fun test3() {