ruiaylin / goprotobuf

Automatically exported from code.google.com/p/goprotobuf
Other
0 stars 0 forks source link

Bug in converting protocol message field name to CamelCase. #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. http://play.golang.org/p/wa30m5tX0O
2. Click Run

What is the expected output? What do you see instead?
  Expected: "XMyFieldName2".
  Output is "XMyFieldName_2".

What version of the product are you using? On what operating system?
  Go Playground. Lines 1744-1799 (function CamelCase() and helpers) from https://code.google.com/p/goprotobuf/source/browse/protoc-gen-go/generator/generator.go

Please provide any additional information below.
  The return value from the function does not match the description in the comment. One of them should be fixed.

Original issue reported on code.google.com by rahulcha...@google.com on 31 Jul 2013 at 11:52

GoogleCodeExporter commented 9 years ago

Original comment by dsymo...@golang.org on 5 Aug 2013 at 1:51

GoogleCodeExporter commented 9 years ago

Original comment by dsymo...@golang.org on 19 Aug 2013 at 6:41

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 4794f7baff22.

Original comment by dsymo...@golang.org on 19 Aug 2013 at 7:11