https://kotlinlang.org logo
Title
e

elihart

07/15/2022, 1:18 AM
I’m seeing this crash in the last 2.5.0-alpha02
java.util.NoSuchElementException: List is empty. |  
-- | --
  | at kotlin.collections.CollectionsKt___CollectionsKt.last(_Collections.kt:416) |  
  | at androidx.room.compiler.processing.javac.ElementExtKt.suspendOverrides(ElementExt.kt:114) |  
  | at androidx.room.compiler.processing.javac.JavacMethodElement.overrides(JavacMethodElement.kt:131) |  
  | at androidx.room.compiler.processing.DeclarationCollectorKt$collectAllMethods$1.invokeSuspend(DeclarationCollector.kt:103) |
weird thing is afaict there are no suspend functions in the class it is processing methods for, so i don’t know how it gets to that point in the code to begin with