ScalaBuff icon indicating copy to clipboard operation
ScalaBuff copied to clipboard

Importing a file without java_package stopped to work in 1.4.0

Open davidlar opened this issue 9 years ago • 0 comments

Example:

to-import.proto:

package to.import;

message ToImport {
  required int32 required_field = 1;
}

importer.proto

package importer;

import "to-import.proto";

message Importer {
  required ToImport required_field = 1;
}

This will now create a Importer.scala with a ToImport without package name, which won't compile.

Pull request #107 fixes this (hopefully).

Regards David

davidlar avatar Mar 02 '15 10:03 davidlar