Skip to content

Commit

Permalink
(#23) Fix backoff type for mutableStateFlowNameDeclaration
Browse files Browse the repository at this point in the history
  • Loading branch information
jayasuryat committed Mar 5, 2024
1 parent d4f6fc1 commit 620ec68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ internal class ClassRepresentationMapper(
}
private val mutableStateFlowNameDeclaration: KSType by unsafeLazy {
val ksName = resolver.getKSNameFromString(Names.mutableStateFlowName.canonicalName)
resolver.getClassDeclarationByName(ksName)?.asStarProjectedType() ?: builtIns.nothingType
resolver.getClassDeclarationByName(ksName)?.asStarProjectedType() ?: builtIns.unitType
}
private val pairDeclaration: KSType by unsafeLazy {
val ksName = resolver.getKSNameFromString(Pair::class.qualifiedName!!)
Expand Down

0 comments on commit 620ec68

Please sign in to comment.