Coerce any type to Number before unboxing

This commit is contained in:
Alexander Udalov
2012-10-26 18:03:40 +04:00
parent 627c3cf42e
commit 4cfe68da1e
3 changed files with 17 additions and 10 deletions
@@ -456,4 +456,8 @@ public class PrimitiveTypesTest extends CodegenTestCase {
public void test2794() throws Exception {
blackBoxFile("regressions/kt2794.kt");
}
public void testUnboxComparable() {
blackBoxFile("primitiveTypes/unboxComparable.kt");
}
}