mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Exclude extraction of fake overridden properties
This commit is contained in:
@@ -577,6 +577,12 @@ open class KotlinFileExtractor(
|
||||
}
|
||||
|
||||
fun extractProperty(p: IrProperty, parentId: Label<out DbReftype>, extractBackingField: Boolean, typeSubstitution: TypeSubstitution?, classTypeArgs: List<IrTypeArgument>?) {
|
||||
|
||||
val visibility = p.visibility
|
||||
if (visibility is DelegatedDescriptorVisibility && visibility.delegate == Visibilities.InvisibleFake) {
|
||||
return
|
||||
}
|
||||
|
||||
val id = useProperty(p, parentId)
|
||||
val locId = tw.getLocation(p)
|
||||
tw.writeKtProperties(id, p.name.asString())
|
||||
|
||||
Reference in New Issue
Block a user