Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
typecheck tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stamblerre committed Sep 12, 2018
1 parent 76ec04b commit ab15b2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/suggest/suggest.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ func (c *Config) analyzePackage(filename string, data []byte, cursor int) (*toke
Env: c.Context.Env,
Dir: c.Context.Dir,
BuildFlags: c.Context.BuildFlags,
Tests: true,
ParseFile: func(fset *token.FileSet, parseFilename string) (*ast.File, error) {
var src interface{}
mode := parser.DeclarationErrors
Expand Down

0 comments on commit ab15b2d

Please sign in to comment.