Open GoogleCodeExporter opened 9 years ago
this was fixed in our codebase by editing as3_message.cc and changing this:
--------------------------------
if (descriptor_->field(i)->type() == FieldDescriptor::TYPE_MESSAGE) {
// printer->Print("// "); // see
http://code.google.com/p/protobuf-actionscript3/issues/detail?id=15
printer->Print("import $packageandmessagetype$;\n"
,"packageandmessagetype", descriptor_->field(i)->message_type()->full_name());
}
--------------------------------
if (false) {
// noop
}
else if (descriptor_->field(i)->type() == FieldDescriptor::TYPE_MESSAGE) {
// printer->Print("// "); // see
http://code.google.com/p/protobuf-actionscript3/issues/detail?id=15
printer->Print("import $packageandmessagetype$;\n"
,"packageandmessagetype", descriptor_->field(i)->message_type()->full_name());
}
else if (descriptor_->field(i)->type() == FieldDescriptor::TYPE_ENUM) {
// printer->Print("// "); // see
http://code.google.com/p/protobuf-actionscript3/issues/detail?id=15
printer->Print("import $packageandmessagetype$;\n"
,"packageandmessagetype", descriptor_->field(i)->enum_type()->full_name());
}
--------------------------------
Original comment by DocOce...@gmail.com
on 26 Feb 2010 at 9:31
Original issue reported on code.google.com by
DocOce...@gmail.com
on 26 Feb 2010 at 9:08