KT-2505 Type mismatch: inferred type is T but T was expected
#KT-2505
This commit is contained in:
@@ -1259,6 +1259,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/inference/arrayConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("completeInferenceIfManyFailed.kt")
|
||||
public void testCompleteInferenceIfManyFailed() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inference/completeInferenceIfManyFailed.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("conflictingSubstitutions.kt")
|
||||
public void testConflictingSubstitutions() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inference/conflictingSubstitutions.kt");
|
||||
@@ -1324,6 +1329,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/inference/noInformationForParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("possibleCycleOnConstraints.kt")
|
||||
public void testPossibleCycleOnConstraints() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inference/possibleCycleOnConstraints.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeConstructorMismatch.kt")
|
||||
public void testTypeConstructorMismatch() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inference/typeConstructorMismatch.kt");
|
||||
@@ -1405,6 +1415,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt2484.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt2505.kt")
|
||||
public void testKt2505() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt2505.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt2514.kt")
|
||||
public void testKt2514() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt2514.kt");
|
||||
|
||||
Reference in New Issue
Block a user