Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom type fails when path contains a dash "-" #25

Closed
awalterschulze opened this issue Dec 3, 2014 · 1 comment
Closed

Custom type fails when path contains a dash "-" #25

awalterschulze opened this issue Dec 3, 2014 · 1 comment

Comments

@awalterschulze
Copy link
Member

From joa...@dynamic-design.se on August 15, 2014 21:06:25

What steps will reproduce the problem? 1. Test using github.com/satori/go.uuid.UUID as a custom type (works)
2. Instead use github.com/dynamic-design/go.uuid.UUID which is a fork without much changes
3. Will get "protoc-gen-gogo: error:bad Go source code was generated: 79:25: expected ';', found '-' (and 2 more errors)"
4. Simply removing the dash making it github.com/dynamicdesign/go.uuid makes it work (but wrong import path ofc)

Original issue: http://code.google.com/p/gogoprotobuf/issues/detail?id=25

@awalterschulze
Copy link
Member Author

From awalterschulze on August 18, 2014 00:43:22

Thank you for reporting this, here is the fix. https://code.google.com/p/gogoprotobuf/source/detail?r=6c980277330804e94257ac7ef70a3adbe1641059

Status: Fixed

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

No branches or pull requests

1 participant