Fix oneof generator - forgot to provide variables...

This commit is contained in:
Jon Skeet 2015-06-12 13:11:16 +01:00
parent 7532f0256f
commit a8dae140c6

View File

@ -159,6 +159,7 @@ void PrimitiveOneofFieldGenerator::GenerateMembers(io::Printer* printer) {
" $oneof_name$_ = value ?? $default_value$;\n");
}
printer->Print(
variables_,
" $oneof_name$Case_ = $oneof_property_name$OneofCase.$property_name$;\n"
" }\n"
"}\n");