dvdkruk / protobuf-dt

Automatically exported from code.google.com/p/protobuf-dt
0 stars 0 forks source link

Editor doesn't like member names that are equal to a type #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For example the following message declaration

 message Literal {
   enum Type {
     STRING = 0;
     INT64 = 1;
   }
   required Type type = 1;
   optional string string = 2;
   optional int64 int64 = 3;
 }

gives the errors

 no viable alternative at input 'int64'
 no viable alternative at input 'string'

Original issue reported on code.google.com by alr...@google.com on 8 Jun 2011 at 8:33

GoogleCodeExporter commented 9 years ago
r309

Original comment by alr...@google.com on 8 Jun 2011 at 8:34