Annotate companion object declaration with SinceKotlin

Move it to the end of the class declaration.
Update builtins testdata
This commit is contained in:
Ilya Gorbunov
2018-07-13 21:41:40 +03:00
parent be2ba61f13
commit 31d7aae98d
5 changed files with 19 additions and 2 deletions
+3 -2
View File
@@ -21,8 +21,6 @@ package kotlin
* represented as values of the primitive type `boolean`.
*/
public class Boolean private constructor() : Comparable<Boolean> {
companion object {}
/**
* Returns the inverse of this boolean.
*/
@@ -46,4 +44,7 @@ public class Boolean private constructor() : Comparable<Boolean> {
public infix fun xor(other: Boolean): Boolean
public override fun compareTo(other: Boolean): Int
@SinceKotlin("1.3")
companion object {}
}