Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch Available
Description
Erlang test executes the following statement:
test/erl/Makefile.am
.generated: $(THRIFT_FILES) for f in $(THRIFT_FILES) ; do \ $(THRIFT) --gen erl $$f ; \ done ; \ $(THRIFT) --gen erl:legacynames LegacyNames.thrift touch .generated
Because ThriftTest.thrift and DocTest.thrift both expose a service ThriftTest whose contents do not match, depending on the order of how the system sees the files, the code generated out of DocTest.thrift may overwrite the previously generated code from ThriftTest.thrift.