JS: Include base types in TypeName

This commit is contained in:
Asger F
2019-09-02 14:18:48 +01:00
parent e9159acecb
commit 54d47f60da

View File

@@ -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, _)
}
/**