Enable control flow checks for functions without body
Except checks for tail recursive calls #KT-7796 Fixed
This commit is contained in:
@@ -188,6 +188,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("DefaultValuesCheckWithoutBody.kt")
|
||||
public void testDefaultValuesCheckWithoutBody() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/DefaultValuesCheckWithoutBody.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("DefaultValuesTypechecking.kt")
|
||||
public void testDefaultValuesTypechecking() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/DefaultValuesTypechecking.kt");
|
||||
|
||||
Reference in New Issue
Block a user