do not add NO_EXPECTED_TYPE as a subtype constraint to constraint system

fixed exception from EA
This commit is contained in:
Svetlana Isakova
2013-09-30 14:23:57 +04:00
parent 0a0f76239f
commit 6c584fd252
8 changed files with 68 additions and 2 deletions
@@ -2444,6 +2444,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/delegatedProperty/inference/noErrorsForImplicitConstraints.kt");
}
@TestMetadata("noExpectedTypeForSupertypeConstraint.kt")
public void testNoExpectedTypeForSupertypeConstraint() throws Exception {
doTest("compiler/testData/diagnostics/tests/delegatedProperty/inference/noExpectedTypeForSupertypeConstraint.kt");
}
@TestMetadata("useCompleterWithoutExpectedType.kt")
public void testUseCompleterWithoutExpectedType() throws Exception {
doTest("compiler/testData/diagnostics/tests/delegatedProperty/inference/useCompleterWithoutExpectedType.kt");
@@ -816,6 +816,11 @@ public class DescriptorSerializationTestGenerated extends AbstractDescriptorSeri
doTest("compiler/testData/loadKotlin/prop/VarDelegationToTraitImpl.kt");
}
@TestMetadata("VarWithDelegated.kt")
public void testVarWithDelegated() throws Exception {
doTest("compiler/testData/loadKotlin/prop/VarWithDelegated.kt");
}
@TestMetadata("compiler/testData/loadKotlin/prop/defaultAccessors")
public static class DefaultAccessors extends AbstractDescriptorSerializationTest {
public void testAllFilesPresentInDefaultAccessors() throws Exception {
@@ -1054,6 +1054,11 @@ public class LoadCompiledKotlinTestGenerated extends AbstractLoadCompiledKotlinT
doTestWithAccessors("compiler/testData/loadKotlin/prop/VarDelegationToTraitImpl.kt");
}
@TestMetadata("VarWithDelegated.kt")
public void testVarWithDelegated() throws Exception {
doTestWithAccessors("compiler/testData/loadKotlin/prop/VarWithDelegated.kt");
}
@TestMetadata("compiler/testData/loadKotlin/prop/defaultAccessors")
public static class DefaultAccessors extends AbstractLoadCompiledKotlinTest {
public void testAllFilesPresentInDefaultAccessors() throws Exception {
@@ -1056,6 +1056,11 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
doTestCheckingPrimaryConstructorsAndAccessors("compiler/testData/loadKotlin/prop/VarDelegationToTraitImpl.kt");
}
@TestMetadata("VarWithDelegated.kt")
public void testVarWithDelegated() throws Exception {
doTestCheckingPrimaryConstructorsAndAccessors("compiler/testData/loadKotlin/prop/VarWithDelegated.kt");
}
@TestMetadata("compiler/testData/loadKotlin/prop/defaultAccessors")
public static class DefaultAccessors extends AbstractLazyResolveNamespaceComparingTest {
public void testAllFilesPresentInDefaultAccessors() throws Exception {