mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 18:35:19 +00:00
THRIFT-4306 Thrift imports not replicated to D service output
Client: D language Patch: Neia Neutuladh
This commit is contained in:
parent
0ad20bdbfe
commit
44701e82ad
@ -103,7 +103,7 @@ protected:
|
|||||||
// Include type modules from other imported programs.
|
// Include type modules from other imported programs.
|
||||||
const vector<t_program*>& includes = program_->get_includes();
|
const vector<t_program*>& includes = program_->get_includes();
|
||||||
for (size_t i = 0; i < includes.size(); ++i) {
|
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;
|
<< "_types;" << endl;
|
||||||
}
|
}
|
||||||
if (!includes.empty())
|
if (!includes.empty())
|
||||||
|
Loading…
Reference in New Issue
Block a user