Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 252 by
bigbr...@gmail.com: Enumerated types accessed through
class trigger Undefined import
https://code.google.com/p/protobuf-dt/issues/detail?id=252
message Foo {
enum Bar {
BAZ = 0;
}
required Bar bar = 1;
}
from autogen import Foo_pb2
foo = Foo_pb2.Foo()
foo.bar = foo.BAZ
works, but:
bar = Foo_pb2.Foo.BAZ
...does not, despite being legal.
[Not that the usage case matters, but this would be storing bar as a
temporary variable to be later assigned to a Foo object.]
What version of the product are you using? On what operating system?
Eclipse 4.5.2, OSX 10.10.5.
Not sure off hand how to tell what version of protobuf-dt, but I downloaded
it recently and it doesn't look like it has been actively maintained for at
least a year.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings