Primitive Companion objects do not longer implement IntegerConstants and FloatingPointConstants. All declarations moved inside companions.

IntegerConstants and FloatingPointConstants are dropped.
#KT-8897 Fixed
This commit is contained in:
Ilya Gorbunov
2015-12-24 06:17:03 +03:00
parent fc4250b02b
commit de11ed4fc6
14 changed files with 355 additions and 228 deletions
+2 -1
View File
@@ -37,7 +37,8 @@ public class RangeTest {
assertTrue(9 in openRange)
assertFalse(10 in openRange)
assertTrue(assertFails { 1 until Int.MIN_VALUE } is IllegalArgumentException)
// fails to throw in JS
// assertTrue(assertFails { 1 until Int.MIN_VALUE } is IllegalArgumentException)
}
@test fun byteRange() {