mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-03 15:10:14 +08:00
Fix LateinitMutableProperty
This commit is contained in:
parent
e788aa09f7
commit
a781941ede
@ -39,7 +39,7 @@ private class LateinitMutableProperty<T>(
|
||||
this.value.compareAndSet(UNINITIALIZED, value) // setValue prevails
|
||||
this.initializer = null
|
||||
value
|
||||
} else v as T
|
||||
} else this.value.value as T
|
||||
}
|
||||
else -> v as T
|
||||
}
|
Loading…
Reference in New Issue
Block a user