the following method description in a DAO fails room processor.
@RawQuery abstract protected suspend fun raw(query : SupportSQLiteQuery)
The problem is in the kotlin.Unit return type. Even worse, because it tries to construct a Unit and fail, the error is reported on Unit which makes it impossible to discover what is going on (because it does not link to the element, so it is not even clear that error happened in Unit in the error log)
Description
@RawQuery
abstract protected suspend fun raw(query : SupportSQLiteQuery)
The problem is in the kotlin.Unit return type. Even worse, because it tries to construct a Unit and fail, the error is reported on Unit which makes it impossible to discover what is going on (because it does not link to the element, so it is not even clear that error happened in Unit in the error log)