Relax requirements on function modifiers in multiplatform projects

Allow to implement header functions with external/tailrec/inline/infix/operator
functions
This commit is contained in:
Alexander Udalov
2016-12-14 21:17:09 +03:00
parent 64867409b7
commit a57455ce62
8 changed files with 65 additions and 75 deletions
@@ -13149,6 +13149,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("functionModifiers.kt")
public void testFunctionModifiers() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/functionModifiers.kt");
doTest(fileName);
}
@TestMetadata("headerAndImplInDIfferentPackages.kt")
public void testHeaderAndImplInDIfferentPackages() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerAndImplInDIfferentPackages.kt");