Fix usage of descriptor API
(cherry picked from commit 71abe130dcc97fdf9e64e272bb4b24cb94bdb46f)
This commit is contained in:
committed by
Vasily Levchenko
parent
735013cc42
commit
4ed00be9e5
+1
-1
@@ -67,7 +67,7 @@ internal fun IrClass.storageKind(context: Context): ObjectStorageKind = when {
|
||||
}
|
||||
|
||||
val IrField.isMainOnlyNonPrimitive get() = when {
|
||||
descriptor.type.computePrimitiveBinaryTypeOrNull() != null -> false
|
||||
type.computePrimitiveBinaryTypeOrNull() != null -> false
|
||||
else -> storageKind == FieldStorageKind.MAIN_THREAD
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user