THRIFT-4306 Thrift imports not replicated to D service output

Client: D language
Patch: Neia Neutuladh
This commit is contained in:
Jens Geyer 2017-10-19 23:15:51 +02:00
parent 0ad20bdbfe
commit 44701e82ad

View File

@ -103,7 +103,7 @@ protected:
// Include type modules from other imported programs.
const vector<t_program*>& includes = program_->get_includes();
for (size_t i = 0; i < includes.size(); ++i) {
f_types_ << "import " << render_package(*(includes[i])) << includes[i]->get_name()
f_types_ << "public import " << render_package(*(includes[i])) << includes[i]->get_name()
<< "_types;" << endl;
}
if (!includes.empty())