Fix various EXPOSED_FROM_PRIVATE_IN_FILE deprecations
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ private class AssertionLowering(private val context: JvmBackendContext) :
|
||||
{
|
||||
// Keeps track of the $assertionsDisabled field, which we generate lazily for classes containing
|
||||
// assertions when compiled with -Xassertions=jvm.
|
||||
private class ClassInfo(val irClass: IrClass, val topLevelClass: IrClass, var assertionsDisabledField: IrField? = null)
|
||||
class ClassInfo(val irClass: IrClass, val topLevelClass: IrClass, var assertionsDisabledField: IrField? = null)
|
||||
|
||||
override fun lower(irFile: IrFile) {
|
||||
// In legacy mode we treat assertions as inline function calls
|
||||
|
||||
@@ -60,8 +60,7 @@ private object ModuleNameRetriever {
|
||||
|
||||
private val notOnJava9 = Cache(null, null, null)
|
||||
|
||||
@JvmField
|
||||
var cache: Cache? = null
|
||||
private var cache: Cache? = null
|
||||
|
||||
fun getModuleName(continuation: BaseContinuationImpl): String? {
|
||||
val cache = this.cache ?: buildCache(continuation)
|
||||
|
||||
Reference in New Issue
Block a user