[FIR] Implement MANY_LAMBDA_EXPRESSION_ARGUMENTS diagnostics, fix tests
This commit is contained in:
committed by
TeamCityServer
parent
b8002cb54f
commit
525cc6df97
+1
-1
@@ -25,5 +25,5 @@ fun test() {
|
||||
|
||||
foo("", 1) <!TOO_MANY_ARGUMENTS!>{}<!>
|
||||
|
||||
foo("", 1) <!TOO_MANY_ARGUMENTS!>{}<!> <!TOO_MANY_ARGUMENTS!>{}<!>
|
||||
foo("", 1) <!TOO_MANY_ARGUMENTS!>{}<!> <!MANY_LAMBDA_EXPRESSION_ARGUMENTS!>{}<!>
|
||||
}
|
||||
|
||||
+3
-3
@@ -6,9 +6,9 @@ fun test(x: () -> Unit, y: () -> Unit) {
|
||||
}
|
||||
|
||||
fun main() {
|
||||
test {
|
||||
<!NO_VALUE_FOR_PARAMETER!>test {
|
||||
1
|
||||
} {
|
||||
} <!MANY_LAMBDA_EXPRESSION_ARGUMENTS!>{
|
||||
2
|
||||
}
|
||||
}<!><!>
|
||||
}
|
||||
Reference in New Issue
Block a user