Skip to content

Commit

Permalink
cleanup unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmueller committed Dec 12, 2017
1 parent 5607ec3 commit 5b6816f
Show file tree
Hide file tree
Showing 18 changed files with 139 additions and 6,222 deletions.
4 changes: 2 additions & 2 deletions internal/compiler/compiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (
"github.com/matthewmueller/joy/internal/compiler/def"
"github.com/matthewmueller/joy/internal/compiler/defs"
"github.com/matthewmueller/joy/internal/compiler/index"
"github.com/matthewmueller/joy/internal/compiler/indexer"
"github.com/matthewmueller/joy/internal/compiler/script"
"github.com/matthewmueller/joy/internal/compiler/translator"
"github.com/matthewmueller/joy/internal/jsast"
"github.com/pkg/errors"

"github.com/matthewmueller/joy/internal/compiler/db"
"github.com/matthewmueller/joy/internal/compiler/graph"
"github.com/matthewmueller/joy/internal/compiler/loader"
)
Expand Down Expand Up @@ -73,7 +73,7 @@ func (c *Compiler) Parse(packages ...string) (idx *index.Index, g *graph.Graph,
return idx, g, errors.Wrapf(err, "load error")
}

idx, err = db.New(program)
idx, err = indexer.New(program)
if err != nil {
return idx, g, errors.Wrapf(err, "indexing error")
}
Expand Down
198 changes: 0 additions & 198 deletions internal/compiler/db/db.go

This file was deleted.

Loading

0 comments on commit 5b6816f

Please sign in to comment.