Skip to content

import statements are not emitted for enums. #23

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. create a .proto file "enum.proto" which contains an enum
2. create a .proto"message.proto", which imports & uses the enum in enum.proto.
3. protoc message.proto

What is the expected output? What do you see instead?

one would expect the resultant message.as file to import enum.as, but it does 
not.

Please provide any additional information below.

note that to get protoc to even emit enum.proto in the first place you need to 
include a non-
enum message (a no-op message, you could say) in enum.proto.


Original issue reported on code.google.com by DocOce...@gmail.com on 26 Feb 2010 at 9:08

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions