New diagnostic error for ambiguous object expression type
This commit is contained in:
@@ -1453,6 +1453,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/diagnostics/tests/declarationChecks"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("ambiguousObjectExpressionType.kt")
|
||||
public void testAmbiguousObjectExpressionType() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/declarationChecks/ambiguousObjectExpressionType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ComponentFunctionReturnTypeMismatch.kt")
|
||||
public void testComponentFunctionReturnTypeMismatch() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/declarationChecks/ComponentFunctionReturnTypeMismatch.kt");
|
||||
@@ -1548,6 +1553,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/declarationChecks/RedeclarationsInMultiDecl.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unambiguousObjectExpressionType.kt")
|
||||
public void testUnambiguousObjectExpressionType() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/declarationChecks/unambiguousObjectExpressionType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("valVarFunctionParameter.kt")
|
||||
public void testValVarFunctionParameter() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/declarationChecks/valVarFunctionParameter.kt");
|
||||
|
||||
Reference in New Issue
Block a user