smart cast 'xxx' to is impossible,because 'xxx' is a mutable property that could have been changed by this time

private var personDaoImpl: SysPersonDaoImpl = null? 

generally stated time specified may be empty but the actual is null, kotlin not intelligent conversion, modified to:

private late init var personDaoImpl: SysPersonDaoImpl


Guess you like

Origin www.cnblogs.com/caosq/p/11613253.html