remove duplicated has$field$ method for oneof

This commit is contained in:
Jian Yang 2019-03-28 23:48:53 +08:00 committed by Stanley Cheung
parent aadfb92bdb
commit ffe8e9c903
1 changed files with 0 additions and 3 deletions

View File

@ -879,9 +879,6 @@ void PrintProtoDtsMessage(Printer *printer, const Descriptor *desc,
"index?: number): $js_field_type$;\n");
}
}
if (field->containing_oneof() != nullptr) {
printer->Print(vars, "has$js_field_name$(): boolean;\n");
}
printer->Print("\n");
}