Fix warnings related to OptIn/UseExperimental
This commit is contained in:
@@ -23,7 +23,7 @@ internal fun KotlinType.minValue(): Long {
|
||||
}
|
||||
}
|
||||
|
||||
@ExperimentalUnsignedTypes
|
||||
@OptIn(ExperimentalUnsignedTypes::class)
|
||||
internal fun KotlinType.maxValue(): Long {
|
||||
return when {
|
||||
KotlinBuiltIns.isByte(this) -> Byte.MAX_VALUE.toLong()
|
||||
@@ -63,4 +63,4 @@ internal val ModuleDescriptor.allUnsignedLiteralTypes: Collection<KotlinType>
|
||||
)
|
||||
} else {
|
||||
emptyList()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user