Skip to content

Error parsing input file #375

@imoverclocked

Description

@imoverclocked

I see this text (and lack of any completion when I run gocode -s -debug

2016/09/01 18:47:02 -------------------------------------------------------
2016/09/01 18:47:02 Found "fmt" at "/usr/local/Cellar/go/1.7/libexec/pkg/darwin_amd64/fmt.a"
2016/09/01 18:47:02 Found "io" at "/usr/local/Cellar/go/1.7/libexec/pkg/darwin_amd64/io.a"
2016/09/01 18:47:02 Found "internal-domain.com/imoverclocked/proj1/protobuf" at "/Users/imoverclocked/go/pkg/darwin_amd64/internal-domain.com/imoverclocked/proj1/protobuf.a"
2016/09/01 18:47:02 Found "internal-domain.com/imoverclocked/proj1/shared" at "/Users/imoverclocked/go/pkg/darwin_amd64/internal-domain.com/imoverclocked/proj1/shared.a"
2016/09/01 18:47:02 Found "golang.org/x/net/context" at "/Users/imoverclocked/go/pkg/darwin_amd64/golang.org/x/net/context.a"
2016/09/01 18:47:02 Error parsing input file (inner block):
2016/09/01 18:47:02  6:10: expected selector or type assertion, found ';'
2016/09/01 18:47:02  7:2: expected ';', found 'if'
2016/09/01 18:47:02 extracted expression tokens: api.cfg
2016/09/01 18:47:02 Offset: 0
2016/09/01 18:47:02 Number of candidates found: 0
2016/09/01 18:47:02 Candidates are:
2016/09/01 18:47:02 =======================================================

I recently updated go from 1.6 to 1.7 and blew away $GOPATH/pkg/* to make sure I wasn't getting any old pre-compiled binaries. At some point, restarting gocode cleared the issue without any other changes to the system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions