mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Add comment explaining why the annotation is needed
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user