blueszhangsh / protobuf-dt

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

Scoping of custom option sources is not reliable #181

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Scoping of custom options sometime works and sometimes it doesn't.

Example:

extend proto2.MessageOptions {
  optional bool active = 1003;
  optional group Type6 = 1000 {
    optional Number code = 1001;
    optional string name = 1002;
  }
}

enum Number {
  ONE = 1;
}

message ABC {
  option (type6).code = ONE;
}

(type6) is not always resolved

Original issue reported on code.google.com by alr...@google.com on 18 Jan 2012 at 11:05

GoogleCodeExporter commented 9 years ago
reb2759af1c47

Original comment by alr...@google.com on 18 Jan 2012 at 11:07