diff --git a/parse.go b/parse.go index 06f9939..1ad4d7f 100644 --- a/parse.go +++ b/parse.go @@ -61,6 +61,7 @@ func ParseAndTypeCheckFile(file string) (*ast.File, *token.FileSet, *types.Packa conf.CreateFromFilenames(dir, fileAbs) } + //test2 conf.AllowErrors = true prog, err := conf.Load() if err != nil {