Unextend Char from Number

This is impossible to achieve on JVM, where java/lang/Character does not extend
java/lang/Number
This commit is contained in:
Alexander Udalov
2013-12-03 21:44:13 +04:00
parent 77d8a745bd
commit 1c3383c811
36 changed files with 39 additions and 23 deletions
@@ -4620,6 +4620,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/diagnostics/tests/numbers"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("characterIsNotANumber.kt")
public void testCharacterIsNotANumber() throws Exception {
doTest("compiler/testData/diagnostics/tests/numbers/characterIsNotANumber.kt");
}
@TestMetadata("doublesInSimpleConstraints.kt")
public void testDoublesInSimpleConstraints() throws Exception {
doTest("compiler/testData/diagnostics/tests/numbers/doublesInSimpleConstraints.kt");