mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
Kotlin: Extract type alias doc comments
This commit is contained in:
@@ -1574,7 +1574,7 @@ open class KotlinUsesExtractor(
|
||||
fun useEnumEntry(ee: IrEnumEntry): Label<out DbField> =
|
||||
tw.getLabelFor(getEnumEntryLabel(ee))
|
||||
|
||||
private fun getTypeAliasLabel(ta: IrTypeAlias): String {
|
||||
fun getTypeAliasLabel(ta: IrTypeAlias): String {
|
||||
val parentId = useDeclarationParent(ta.parent, true)
|
||||
return "@\"type_alias;{$parentId};${ta.name.asString()}\""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user