Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing a fully qualified enum doesn't work #109

Open
davidlar opened this issue Mar 2, 2015 · 1 comment
Open

Importing a fully qualified enum doesn't work #109

davidlar opened this issue Mar 2, 2015 · 1 comment

Comments

@davidlar
Copy link

davidlar commented Mar 2, 2015

Example:

enum_to_import.proto:

package resources.generated.nested;

enum AnEnumToImport {
  KEYBOARD = 1;
  MOUSE = 2;
}

import_enum.proto:

package resources.generated;

import "enum_to_import.proto";

message AnImportEnumMessage {
  required resources.generated.nested.AnEnumToImport to_import = 1;
}

doesn't compile.

davidlar added a commit to davidlar/ScalaBuff that referenced this issue Mar 2, 2015
@davidlar
Copy link
Author

davidlar commented Mar 2, 2015

Fix added to pull request #107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant