blueszhangsh / protobuf-dt

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

Scoping should resolve to the closest type possible #189

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Example:

syntax = "proto2";

message Test {
  enum Status {
    ACTIVE = 0;
    INACTIVE = 1;
  }
  optional Status status = 1 [default = ACTIVE];
}

enum Status {
  DRAFT = 0;
  READY = 1;
}

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

GoogleCodeExporter commented 9 years ago
r4a5020b26d50

Original comment by alr...@google.com on 22 Jan 2012 at 12:16

GoogleCodeExporter commented 9 years ago
re595abccfaed

Original comment by alr...@google.com on 22 Jan 2012 at 12:24

GoogleCodeExporter commented 9 years ago
r0b94670f4063

Original comment by alr...@google.com on 22 Jan 2012 at 10:51