aboutsummaryrefslogtreecommitdiff
path: root/src/index
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2021-09-10 22:43:16 +0200
committerDaniel Gavin <danielgavin5@hotmail.com>2021-09-10 22:43:16 +0200
commitf58fdcb80e2b5436d54ec634b6e44abcd497db3f (patch)
treead995886e4e1530d5fb62c89a555f902fc35e07e /src/index
parent42858ae86d8c72028c922eccdffa492e117da231 (diff)
check only the builtin on the source package
Diffstat (limited to 'src/index')
-rw-r--r--src/index/indexer.odin7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/index/indexer.odin b/src/index/indexer.odin
index ce031f1..611b922 100644
--- a/src/index/indexer.odin
+++ b/src/index/indexer.odin
@@ -58,13 +58,6 @@ lookup :: proc(name: string, pkg: string, loc := #caller_location) -> (Symbol, b
return symbol, true;
}
- for built in indexer.built_in_packages {
- if symbol, ok := memory_index_lookup(&indexer.static_index, name, built); ok {
- log.infof("lookup name: %v pkg: %v, symbol %v location %v", name, pkg, symbol, loc);
- return symbol, true;
- }
- }
-
log.infof("lookup failed name: %v pkg: %v location %v", name, pkg, loc);
return {}, false;
}