FIR: Extract StandardClassIds.KClass
This commit is contained in:
@@ -49,6 +49,7 @@ object StandardClassIds {
|
||||
val KProperty2 = "KProperty2".reflectId()
|
||||
val KMutableProperty2 = "KMutableProperty2".reflectId()
|
||||
val KFunction = "KFunction".reflectId()
|
||||
val KClass = "KClass".reflectId()
|
||||
|
||||
val Comparable = "Comparable".baseId()
|
||||
val Number = "Number".baseId()
|
||||
@@ -73,4 +74,4 @@ object StandardClassIds {
|
||||
val elementTypeByUnsignedArrayType = unsignedArrayTypeByElementType.inverseMap()
|
||||
}
|
||||
|
||||
private fun <K, V> Map<K, V>.inverseMap() = entries.associate { (k, v) -> v to k }
|
||||
private fun <K, V> Map<K, V>.inverseMap() = entries.associate { (k, v) -> v to k }
|
||||
|
||||
Reference in New Issue
Block a user