Update tests after specialization handling

This commit is contained in:
Fangrui Song 2018-01-28 23:22:22 -08:00
parent b7ce3dd60a
commit 795dfc670c

View File

@ -258,7 +258,10 @@ QueryFile::Def BuildFileDef(const IdMap& id_map, const IndexFile& indexed) {
range.end.column++;
}
add_all_symbols(id_map.ToSymbol(func.id),
SymbolRole::Implicit | SymbolRole::CalledBy, range);
caller.is_implicit
? SymbolRole::Implicit | SymbolRole::CalledBy
: SymbolRole::CalledBy,
range);
}
}
for (const IndexVar& var : indexed.vars) {