Fix: constraint T? >: Int! should transform to T >: Int

This commit is contained in:
Svetlana Isakova
2015-01-28 18:51:55 +03:00
parent f5fb3246ae
commit a2f03f2d52
4 changed files with 45 additions and 3 deletions
@@ -2022,6 +2022,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("typeInferenceForExclExcl.kt")
public void testTypeInferenceForExclExcl() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/controlStructures/typeInferenceForExclExcl.kt");
doTest(fileName);
}
@TestMetadata("valVarCatchParameter.kt")
public void testValVarCatchParameter() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/controlStructures/valVarCatchParameter.kt");