diff --git a/src/queries/catalog/dependencies-query/dependencies-query-executor.ts b/src/queries/catalog/dependencies-query/dependencies-query-executor.ts index 5ca13a354a..c1bfcd6ad4 100644 --- a/src/queries/catalog/dependencies-query/dependencies-query-executor.ts +++ b/src/queries/catalog/dependencies-query/dependencies-query-executor.ts @@ -100,7 +100,7 @@ function makeCallContextQuery(functions: readonly FunctionInfo[], kind: string): return functions.map(f => ({ type: 'call-context', callName: f.name, - includeAliases: true, + includeAliases: false, callNameExact: true, subkind: f.name, linkTo: f.linkTo ? { type: 'link-to-last-call', callName: f.linkTo } : undefined, diff --git a/test/functionality/dataflow/query/dependencies-query-tests.ts b/test/functionality/dataflow/query/dependencies-query-tests.ts index 11a1b155d5..8cb6f77b98 100644 --- a/test/functionality/dataflow/query/dependencies-query-tests.ts +++ b/test/functionality/dataflow/query/dependencies-query-tests.ts @@ -72,10 +72,6 @@ describe('Dependencies Query', withShell(shell => { { nodeId: '1@p_load', functionName: 'p_load', libraryName: 'c' } ] }); - testQuery('Call with Alias', 'foo <- library\nfoo(x)', { libraries: [ - { nodeId: '2@foo', functionName: 'foo', libraryName: 'x' } - ] }); - testQuery('Load implicitly', 'foo::x\nbar:::y()', { libraries: [ { nodeId: '1@x', functionName: '::', libraryName: 'foo' }, { nodeId: '2@y', functionName: ':::', libraryName: 'bar' }