Fixed direction of substitution when checking bounds of type parameters.

This commit is contained in:
Evgeny Gerashchenko
2012-12-04 18:10:07 +04:00
parent d7624aa7b6
commit 95c9c4c0c4
6 changed files with 52 additions and 2 deletions
@@ -762,6 +762,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
doTest("compiler/testData/loadJava/kotlinSignature/propagation/typeParameter/UseParameterInUpperBound.java");
}
@TestMetadata("UseParameterInUpperBoundWithKotlinSignature.java")
public void testUseParameterInUpperBoundWithKotlinSignature() throws Exception {
doTest("compiler/testData/loadJava/kotlinSignature/propagation/typeParameter/UseParameterInUpperBoundWithKotlinSignature.java");
}
}
public static Test innerSuite() {
@@ -1652,6 +1652,11 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/typeParameter/UseParameterInUpperBound.kt");
}
@TestMetadata("UseParameterInUpperBoundWithKotlinSignature.kt")
public void testUseParameterInUpperBoundWithKotlinSignature() throws Exception {
doTestSinglePackage("compiler/testData/loadJava/kotlinSignature/propagation/typeParameter/UseParameterInUpperBoundWithKotlinSignature.kt");
}
}
public static Test innerSuite() {