Importing protos from the same namespace results in "Duplicate identifier" errors
cwgordon7 opened this issue · 1 comments
cwgordon7 commented
a.proto
namespace foo;
message A {}
b.proto
namespace foo;
import "a.proto";
message B {
optional A a = 1;
}
This results in assemblyscript like:
import { foo } from "a";
export namespace foo {
// ...
}
This results in an error:
ERROR TS2300: Duplicate identifier 'foo'.
Similar errors also occur if you import multiple protos from the same namespace.
piotr-oles commented
Could you test this with v1.1.0? I think I fixed this issue with ESM imports