Distinguish between no declared arguments and an empty argument list
in a function literal If there are no arguments, any number of them might be expected
This commit is contained in:
committed by
Alexander Udalov
parent
d9568ef88c
commit
14c2690447
@@ -9012,6 +9012,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("EmptyArgumentListInLambda.kt")
|
||||
public void testEmptyArgumentListInLambda() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/overload/EmptyArgumentListInLambda.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("ExtFunDifferentReceiver.kt")
|
||||
public void testExtFunDifferentReceiver() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/overload/ExtFunDifferentReceiver.kt");
|
||||
|
||||
Reference in New Issue
Block a user