Add language feature for extended main convention

- suspend
- parameterless

 #KT-17679 Fixed
 #KT-26574 Fixed
This commit is contained in:
Denis Zharkov
2018-09-06 19:19:40 +03:00
parent f79fbe778f
commit 1cc0c12f87
18 changed files with 132 additions and 10 deletions
@@ -15936,11 +15936,21 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
runTest("compiler/testData/diagnostics/tests/redeclarations/RedeclarationParameterlessMainInvalid.kt");
}
@TestMetadata("RedeclarationParameterlessMain_before.kt")
public void testRedeclarationParameterlessMain_before() throws Exception {
runTest("compiler/testData/diagnostics/tests/redeclarations/RedeclarationParameterlessMain_before.kt");
}
@TestMetadata("RedeclarationSuspendMainInMultiFile.kt")
public void testRedeclarationSuspendMainInMultiFile() throws Exception {
runTest("compiler/testData/diagnostics/tests/redeclarations/RedeclarationSuspendMainInMultiFile.kt");
}
@TestMetadata("RedeclarationSuspendMainInMultiFile_before.kt")
public void testRedeclarationSuspendMainInMultiFile_before() throws Exception {
runTest("compiler/testData/diagnostics/tests/redeclarations/RedeclarationSuspendMainInMultiFile_before.kt");
}
@TestMetadata("Redeclarations.kt")
public void testRedeclarations() throws Exception {
runTest("compiler/testData/diagnostics/tests/redeclarations/Redeclarations.kt");