diff --git a/pkg/symbol/table.go b/pkg/symbol/table.go index 7bdef3ea..f5cdfd93 100644 --- a/pkg/symbol/table.go +++ b/pkg/symbol/table.go @@ -114,7 +114,10 @@ func (t *Table) Close() error { func (t *Table) insert(sym *Symbol) error { t.symbols[sym.ID()] = sym - t.index[sym.Namespace()] = lo.Assign(t.index[sym.Namespace()], map[string]ulid.ULID{sym.Name(): sym.ID()}) + + if sym.Name() != "" { + t.index[sym.Namespace()] = lo.Assign(t.index[sym.Namespace()], map[string]ulid.ULID{sym.Name(): sym.ID()}) + } unlinks := map[string][]scheme.PortLocation{}