Add comment explaining why the annotation is needed

This commit is contained in:
Tamas Vajk
2021-11-18 12:37:04 +01:00
committed by Ian Lynagh
parent cb406619cb
commit da0e2c276f

View File

@@ -242,7 +242,7 @@ class KotlinSourceFileExtractor(
CommentExtractor(this).extract()
}
@OptIn(kotlin.ExperimentalStdlibApi::class)
@OptIn(kotlin.ExperimentalStdlibApi::class) // Annotation required by kotlin versions < 1.5
fun extractFileClass(f: IrFile): Label<out DbClass> {
val fileName = f.fileEntry.name
val pkg = f.fqName.asString()