Remove obsolete @OptIn(ExperimentalUnsignedTypes::class) annotations
^KT-62510
This commit is contained in:
committed by
Space Team
parent
f11cb277cd
commit
86c8f3cc35
@@ -34,7 +34,6 @@ class ConeIntegerLiteralConstantTypeImpl(
|
||||
return getApproximatedTypeImpl(expectedType)
|
||||
}
|
||||
|
||||
@OptIn(ExperimentalUnsignedTypes::class)
|
||||
companion object {
|
||||
fun create(
|
||||
value: Long,
|
||||
|
||||
-1
@@ -3,7 +3,6 @@
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
@file:OptIn(ExperimentalUnsignedTypes::class)
|
||||
|
||||
package org.jetbrains.kotlin.backend.common.lower.loops
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ internal fun KotlinType.minValue(): Long {
|
||||
}
|
||||
}
|
||||
|
||||
@OptIn(ExperimentalUnsignedTypes::class)
|
||||
internal fun KotlinType.maxValue(): Long {
|
||||
return when {
|
||||
KotlinBuiltIns.isByte(this) -> Byte.MAX_VALUE.toLong()
|
||||
|
||||
Reference in New Issue
Block a user