Fixed Bug P1 Add Hotlist Status UpdateNo update yet.Descriptionda...@google.com created issue #1Feb 1, 2019 09:36PMKotlin metadata is failing to match jvm function signatures when the function has an inner class as a parameter.For example:@Query("SELECT 0 FROM book")suspend fun getZero(param : EnumConverter.Answer)has the following jvm signature:getZero(Landroidx/room/integration/kotlintestapp/vo/EnumConverter/Answer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;which is different from the metadata siganture:getZero(Landroidx/room/integration/kotlintestapp/vo/EnumConverter$Answer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;hence we fail to read kotlin metadata out of it, and more specifically we can't figure out if it has a suspend modifier or not.Issue summaryCommentsAll comments Oldest first ap...@google.com <ap...@google.com> #2Feb 15, 2019 07:01PMHi. Thanks for reporting this. Fixed in this changelist. This should be available in alpha-04 da...@google.com <da...@google.com> Feb 15, 2019 07:05PMMarked as fixed.Add comment Comment
Description
For example:
@Query("SELECT 0 FROM book")
suspend fun getZero(param : EnumConverter.Answer)
has the following jvm signature:
getZero(Landroidx/room/integration/kotlintestapp/vo/EnumConverter/Answer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
which is different from the metadata siganture:
getZero(Landroidx/room/integration/kotlintestapp/vo/EnumConverter$Answer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
hence we fail to read kotlin metadata out of it, and more specifically we can't figure out if it has a suspend modifier or not.