reznikmm / protobuf

The Google Protocol Buffers implementation in Ada
MIT License
32 stars 5 forks source link

raised CONSTRAINT_ERROR : Compiler.Context.String_Sets.Insert: attempt to insert element already in set #14

Closed mgrojo closed 2 years ago

mgrojo commented 2 years ago

I've found a case where the last version still has a problem with type clashes.

syntax = "proto3";

package test_already_in_set;

message M {
  message T {
    string field = 1;
  }
}

message M_T {
   M.T value = 1;
}

message T {
  string field = 1;
}

I tried changing Insertto Include, but then there are name clashes in the generated Ada code.