SandroGrzicic / ScalaBuff

the scala protocol buffers (protobuf) compiler
Other
219 stars 80 forks source link

Importing a fully qualified enum doesn't work #109

Open davidlar opened 9 years ago

davidlar commented 9 years ago

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 commented 9 years ago

Fix added to pull request #107