Skip to content

Ident With Dot Parse Failed #2

Description

@LostsM86

test.thrift

namespace go test

struct TestReq {
  1: i64 id,
}

struct TestRes {
  1: i32 id,
}

service TestService {
    TestRes TestA(1: TestReq req)
    test_p.TestRes TestB(1: TestReq req)
}

test.go

file, _ := os.Open("test.thrift")
defer file.Close()
parser := thrifter.NewParser(file, true)
_, err := parser.Parse("INPUT")
fmt.Println(err)

: found "T" but expected [(], debug info

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions