Fix various EXPOSED_FROM_PRIVATE_IN_FILE deprecations

This commit is contained in:
Mikhail Glukhikh
2021-04-06 00:11:01 +03:00
parent 1b1949d242
commit addfa27980
2 changed files with 2 additions and 3 deletions
@@ -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)