File tree 1 file changed +8
-6
lines changed
kotlin-inject-compiler/core/src/main/kotlin/me/tatarka/inject/compiler
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -370,12 +370,14 @@ fun <E> qualifier(
370
370
}
371
371
}
372
372
373
- val qualifiers = (element?.annotationsAnnotatedWith(QUALIFIER .packageName, QUALIFIER .simpleName,).orEmpty() +
374
- if (options.enableJavaxAnnotations) {
375
- element?.annotationsAnnotatedWith(JAVAX_QUALIFIER .packageName, JAVAX_QUALIFIER .simpleName,).orEmpty()
376
- } else {
377
- emptySequence()
378
- }).toList()
373
+ val qualifiers = (
374
+ element?.annotationsAnnotatedWith(QUALIFIER .packageName, QUALIFIER .simpleName).orEmpty() +
375
+ if (options.enableJavaxAnnotations) {
376
+ element?.annotationsAnnotatedWith(JAVAX_QUALIFIER .packageName, JAVAX_QUALIFIER .simpleName).orEmpty()
377
+ } else {
378
+ emptySequence()
379
+ }
380
+ ).toList()
379
381
380
382
val qualifiersIncludingType = (qualifiers + type.typeQualifierAnnotations().toList()).distinct()
381
383
if (qualifiersIncludingType.size > 1 ) {
You can’t perform that action at this time.
0 commit comments