mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Always extract methods of user-class supertypes
This matches the Java extractor's behaviour. Also if we re-visit a class to extract its members, revisit its supertypes to extract their members too.
This commit is contained in:
committed by
Ian Lynagh
parent
8f48c1b161
commit
863037ec41
@@ -321,7 +321,8 @@ open class KotlinFileExtractor(
|
||||
}
|
||||
|
||||
extractClassModifiers(c, id)
|
||||
extractClassSupertypes(c, id)
|
||||
val forceExtractSupertypeMembers = !isExternalDeclaration(c)
|
||||
extractClassSupertypes(c, id, inReceiverContext = forceExtractSupertypeMembers)
|
||||
|
||||
return id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user