object88 / langd

A Language Server Protocol implementation in Go for Go
MIT License
7 stars 0 forks source link

Improve type checking and type.Package creation #23

Closed object88 closed 6 years ago

object88 commented 6 years ago

Looking at the NewChecker function, it seems that we can create a checker for a package and feed it a collection of Files, in order to incrementally check it. This way, we can keep the checked Test files and not re-check the base imports.

object88 commented 6 years ago

Now incrementally adding test files, to not re-check base files when adding test files.