diff --git a/generators/builtins/unsignedTypes.kt b/generators/builtins/unsignedTypes.kt index ec1533589fa..6d65b600f63 100644 --- a/generators/builtins/unsignedTypes.kt +++ b/generators/builtins/unsignedTypes.kt @@ -49,12 +49,12 @@ class UnsignedTypeGenerator(val type: UnsignedType, out: PrintWriter) : BuiltIns /** * A constant holding the minimum value an instance of $className can have. */ - public /*const*/ val MIN_VALUE: $className = $className(0) + public const val MIN_VALUE: $className = $className(0) /** * A constant holding the maximum value an instance of $className can have. */ - public /*const*/ val MAX_VALUE: $className = $className(-1) + public const val MAX_VALUE: $className = $className(-1) }""") generateCompareTo() diff --git a/libraries/stdlib/unsigned/src/kotlin/UByte.kt b/libraries/stdlib/unsigned/src/kotlin/UByte.kt index 8d26a29abb0..a1a89cc69c8 100644 --- a/libraries/stdlib/unsigned/src/kotlin/UByte.kt +++ b/libraries/stdlib/unsigned/src/kotlin/UByte.kt @@ -17,12 +17,12 @@ public inline class UByte internal constructor(private val data: Byte) : Compara /** * A constant holding the minimum value an instance of UByte can have. */ - public /*const*/ val MIN_VALUE: UByte = UByte(0) + public const val MIN_VALUE: UByte = UByte(0) /** * A constant holding the maximum value an instance of UByte can have. */ - public /*const*/ val MAX_VALUE: UByte = UByte(-1) + public const val MAX_VALUE: UByte = UByte(-1) } /** diff --git a/libraries/stdlib/unsigned/src/kotlin/UInt.kt b/libraries/stdlib/unsigned/src/kotlin/UInt.kt index 476f95c569b..3d96bb18cf2 100644 --- a/libraries/stdlib/unsigned/src/kotlin/UInt.kt +++ b/libraries/stdlib/unsigned/src/kotlin/UInt.kt @@ -17,12 +17,12 @@ public inline class UInt internal constructor(private val data: Int) : Comparabl /** * A constant holding the minimum value an instance of UInt can have. */ - public /*const*/ val MIN_VALUE: UInt = UInt(0) + public const val MIN_VALUE: UInt = UInt(0) /** * A constant holding the maximum value an instance of UInt can have. */ - public /*const*/ val MAX_VALUE: UInt = UInt(-1) + public const val MAX_VALUE: UInt = UInt(-1) } /** diff --git a/libraries/stdlib/unsigned/src/kotlin/ULong.kt b/libraries/stdlib/unsigned/src/kotlin/ULong.kt index fcf0cf14d22..a23c438f420 100644 --- a/libraries/stdlib/unsigned/src/kotlin/ULong.kt +++ b/libraries/stdlib/unsigned/src/kotlin/ULong.kt @@ -17,12 +17,12 @@ public inline class ULong internal constructor(private val data: Long) : Compara /** * A constant holding the minimum value an instance of ULong can have. */ - public /*const*/ val MIN_VALUE: ULong = ULong(0) + public const val MIN_VALUE: ULong = ULong(0) /** * A constant holding the maximum value an instance of ULong can have. */ - public /*const*/ val MAX_VALUE: ULong = ULong(-1) + public const val MAX_VALUE: ULong = ULong(-1) } /** diff --git a/libraries/stdlib/unsigned/src/kotlin/UShort.kt b/libraries/stdlib/unsigned/src/kotlin/UShort.kt index 0aa5808ebee..3032fecffa4 100644 --- a/libraries/stdlib/unsigned/src/kotlin/UShort.kt +++ b/libraries/stdlib/unsigned/src/kotlin/UShort.kt @@ -17,12 +17,12 @@ public inline class UShort internal constructor(private val data: Short) : Compa /** * A constant holding the minimum value an instance of UShort can have. */ - public /*const*/ val MIN_VALUE: UShort = UShort(0) + public const val MIN_VALUE: UShort = UShort(0) /** * A constant holding the maximum value an instance of UShort can have. */ - public /*const*/ val MAX_VALUE: UShort = UShort(-1) + public const val MAX_VALUE: UShort = UShort(-1) } /**