Use representative upper bound in JetTypeMapper instead of just the first

This commit is contained in:
Alexander Udalov
2015-10-22 21:00:05 +03:00
parent 3918005364
commit 996c14d071
4 changed files with 50 additions and 3 deletions
@@ -4740,6 +4740,12 @@ public class BlackBoxWithStdlibCodegenTestGenerated extends AbstractBlackBoxCode
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/typeMapping/genericTypeWithNothing.kt");
doTestWithStdlib(fileName);
}
@TestMetadata("typeParameterMultipleBounds.kt")
public void testTypeParameterMultipleBounds() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/typeMapping/typeParameterMultipleBounds.kt");
doTestWithStdlib(fileName);
}
}
@TestMetadata("compiler/testData/codegen/boxWithStdlib/vararg")