Skip to content

Commit c411976

Browse files
committed
Kotlin: Another 1.8 build fix
1 parent 89b3363 commit c411976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/kotlin-extractor/src/main/kotlin/KotlinFileExtractor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@ open class KotlinFileExtractor(
13871387

13881388
private fun getNullabilityAnnotation(t: IrType, declOrigin: IrDeclarationOrigin, existingAnnotations: List<IrConstructorCall>, javaAnnotations: Collection<JavaAnnotation>?) =
13891389
getNullabilityAnnotationName(t, declOrigin, existingAnnotations, javaAnnotations)?.let {
1390-
pluginContext.referenceClass(it)?.let { annotationClass ->
1390+
getClassByFqName(pluginContext, it)?.let { annotationClass ->
13911391
annotationClass.owner.declarations.firstIsInstanceOrNull<IrConstructor>()?.let { annotationConstructor ->
13921392
IrConstructorCallImpl.fromSymbolOwner(
13931393
UNDEFINED_OFFSET, UNDEFINED_OFFSET, annotationConstructor.returnType, annotationConstructor.symbol, 0

0 commit comments

Comments
 (0)