resolve elvis operator as call

This commit is contained in:
Svetlana Isakova
2013-08-02 15:19:28 +04:00
parent 624eaa5aa8
commit 4621fe6dfa
4 changed files with 70 additions and 18 deletions
@@ -4793,6 +4793,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/diagnostics/tests/resolve/specialConstructions"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("elvisAsCall.kt")
public void testElvisAsCall() throws Exception {
doTest("compiler/testData/diagnostics/tests/resolve/specialConstructions/elvisAsCall.kt");
}
@TestMetadata("exclExclAsCall.kt")
public void testExclExclAsCall() throws Exception {
doTest("compiler/testData/diagnostics/tests/resolve/specialConstructions/exclExclAsCall.kt");