Commit a8dae140 authored by Jon Skeet's avatar Jon Skeet

Fix oneof generator - forgot to provide variables...

parent 7532f025
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment