Support parenthesized, typed and labeled expressions

This commit is contained in:
Mikhael Bogdanov
2013-11-25 16:31:35 +04:00
parent ceda72e0ca
commit 1391676281
5 changed files with 127 additions and 4 deletions
@@ -3786,6 +3786,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
public void testNonVirtualMembersWithInline() throws Exception {
doTest("compiler/testData/diagnostics/tests/inline/nonVirtualMembersWithInline.kt");
}
@TestMetadata("labeled.kt")
public void testLabeled() throws Exception {
doTest("compiler/testData/diagnostics/tests/inline/labeled.kt");
}
@TestMetadata("nothingToInline.kt")
public void testNothingToInline() throws Exception {
@@ -3797,6 +3802,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/inline/nullableFunction.kt");
}
@TestMetadata("parenthesized.kt")
public void testParenthesized() throws Exception {
doTest("compiler/testData/diagnostics/tests/inline/parenthesized.kt");
}
@TestMetadata("propagation.kt")
public void testPropagation() throws Exception {
doTest("compiler/testData/diagnostics/tests/inline/propagation.kt");
@@ -3807,6 +3817,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/inline/returns.kt");
}
@TestMetadata("typed.kt")
public void testTyped() throws Exception {
doTest("compiler/testData/diagnostics/tests/inline/typed.kt");
}
@TestMetadata("unsupportedConstruction.kt")
public void testUnsupportedConstruction() throws Exception {
doTest("compiler/testData/diagnostics/tests/inline/unsupportedConstruction.kt");