mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
JS: Include base types in TypeName
This commit is contained in:
@@ -210,7 +210,9 @@ class CanonicalName extends @symbol {
|
||||
class TypeName extends CanonicalName {
|
||||
TypeName() {
|
||||
exists(TypeReference ref | type_symbol(ref, this)) or
|
||||
exists(TypeDefinition def | ast_node_symbol(def, this))
|
||||
exists(TypeDefinition def | ast_node_symbol(def, this)) or
|
||||
base_type_names(_, this) or
|
||||
base_type_names(this, _)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user