Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
IVIanuu committed Feb 23, 2024
1 parent b79b0b9 commit de20774
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ fun ClassifierDescriptor.toInjektClassifier(ctx: Context): InjektClassifier =

val typeParameters = safeAs<ClassifierDescriptorWithTypeParameters>()
?.declaredTypeParameters
?.map { it.toInjektClassifier(ctx) }
?.toMutableList()
?.mapTo(mutableListOf()) { it.toInjektClassifier(ctx) }
?: mutableListOf()

val isTag = hasAnnotation(InjektFqNames.Tag) || fqNameSafe == InjektFqNames.Composable
Expand Down

0 comments on commit de20774

Please sign in to comment.